flumt

0.0.10 • Public • Published

Flumt

Conceptual Implementation of EventEmitter based Flux.

// TODO Documentation

Example

Hello World

import * as React from "react";
import {Flux} from "flumt";
import {render} from "react-dom";
 
class App extends Flux<{}> {
  render(prors) {
    return <divHelloWorld</div>;
  }
}
 
// Setup renderer
const app = new App(el => {
  render(el, document.querySelector("#root"));
});
app.update(_initialState => ({}))

Readme

Keywords

none

Package Sidebar

Install

npm i flumt

Weekly Downloads

1

Version

0.0.10

License

ISC

Last publish

Collaborators

  • mizchi