react-elmish-example
My personal attempt to understand Elm architecture
Last updated 5 years ago by gaearon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-elmish-example 
SYNC missed versions from official npm registry.

React Elmish Example

This is my personal attempt to understand Elm Architecture better and show how it can be imitated by React components. I'd also like to better understand its strengths and weaknesses.

This specific repository currently has just one example with a few components:

  • A counter component
  • A list component enhancer
  • An action log component enhancer
  • This lets us render a list of counters...
  • ... with action log!
  • ... and undo/redo!

Note that the state lives at the top of the application.

Running

It's up on Github Pages.

You can also

git clone https://github.com/gaearon/react-elmish-example.git
cd react-elmish-example
npm install
npm start
open http://localhost:3000

Sorry, no hot reloading this time!

License

MIT

Current Tags

  • 0.4.0-alpha                                ...           bundle-opt (4 years ago)
  • 0.3.0-alpha                                ...           bundled (4 years ago)
  • 0.1.0                                ...           latest (5 years ago)
  • 0.2.1-alpha                                ...           no-bundle (4 years ago)
  • 0.5.1-alpha                                ...           pretty-close (4 years ago)
  • 0.2.0-alpha                                ...           qwertyuiop (4 years ago)

7 Versions

  • 0.5.1-alpha                                ...           4 years ago
  • 0.5.0-alpha                                ...           4 years ago
  • 0.4.0-alpha                                ...           4 years ago
  • 0.3.0-alpha                                ...           4 years ago
  • 0.2.1-alpha                                ...           4 years ago
  • 0.2.0-alpha                                ...           4 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 4
Last Month 16
Dependencies (2)
Dev Dependencies (9)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |