Jolly Roger

April, 2019

~2KB micro framework based on React hooks API

Photo by Flickr

Jolly Roger is a micro-framework build on top of React's hooks API. It gives you the ability to define an application state which could be changed via a well known hook setter API. You can also define reducers and actions that will trigger them. The actions are available in the Roger's context. You can access them from within your React components via the useContext method. The library handles nicely an async operations in customly defined context methods. Those methods are available in the Roger's context. They accept dependencies and the context object itself so they can fire actions which will update the application state and then re-render the current React tree.

More by
the same passionate developer