croact
Simple React for compatible use
Last updated 3 years ago by younkue .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install croact 
SYNC missed versions from official npm registry.

Alias react, react-dom to croact

It also supports react's lightweight modules and additional features to support react's components to other frameworks.

⚙️ Installation

npm

$ npm install croact

No supported

  • Fragment

Used Components

???? How to use

  • self render
<div>Self</div>
import { renderSelf } from "croact";


renderSelf(<div>Self</div>, document.querySelector("div"));

  • Rollup
import reactCompat from "rollup-plugin-react-compat";

const reactPlugin = reactCompat({
    useCroact: true,
    resolveCompat: true,
});

Current Tags

  • 1.0.4                                ...           latest (3 years ago)

6 Versions

  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 57
This Month 84
Last Day 4
Last Week 62
Last Month 434
Dependencies (2)
Dev Dependencies (5)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |