Skip to content

🦊 Minimal and experimental redux-like web framework

License

Notifications You must be signed in to change notification settings

8eecf0d2/jackle

Repository files navigation

Jackle

Travis CI badge Codeclimate maintainability Greenkeeper badge Bundlephobia minified badge Bundlephobia minified zipped badge

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!

Getting Started

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([...]);

API

Additional documentation and guides can be found in the github wiki.

Overview

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.

Documentation

All of the documentation is available in the github wiki.