Socket
Book a DemoInstallSign in
Socket

react-elmish-example

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-elmish-example

My personal attempt to understand Elm architecture

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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

Keywords

react

FAQs

Package last updated on 04 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts