Jackle is a tiny and experimental framework for building redux-like
web applications. It exposes a small API for managing components, state changes, routing and more!
Install with yarn or npmβ
yarn add jackle
Import and start using
import { Jackle } from 'jackle';
β
const jackle = new Jackle();
jackle.parser([...]);
jackle.handler([...]);
jackle.component([...]);
jackle.route([...]);
Additional documentation and guides can be found in the github wiki.
In Jackle there are a few core modules, Parser, Handler, Component, all modules follow a simple Object
structure and allow for a lot of flexiblity in regards to how they're composed.
I'm (8eecf0d2) currently learning about Redux and wanted to build a small framework similar to Jagwah but with a more minimal approach and redux-like
ideas. I'm not completely sold on the immutable wave but it seems interesting enough to give it a crack.
If you get lost or are confused about how Jackle works it's highly recommended to read the source, Jackle is less than 200 lines of verbose and commented code.
All of the documentation is available in the github wiki.