meiosis-react
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

Meiosis-React

Meiosis-React is a Meiosis renderer for React.

You can install it with npm:

npm i --save meiosis-react

Then use it along with Meiosis:

import { createComponent, run } from "meiosis";
import { renderer } from "meiosis-react";
 
const Main = createComponent({...});
run({ renderer: renderer().intoId(document, "app"), rootComponent: Main });

You can also download the JavaScript file from the Meiosis builds and add it to your page with a plain <script> tag. In that case it will be available as the meiosisReact global variable.

The Meiosis Guide contains a simple counter example.

You will also find a TodoMVC example in the meiosis-examples repository.

Finally, the todo-list example also uses Meiosis-React.

--

Meiosis is developed by foxdonut (@foxdonut00) and is released under the MIT license.

Package Sidebar

Install

npm i meiosis-react

Weekly Downloads

3

Version

0.8.0

License

MIT

Last publish

Collaborators

  • foxdonut