Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rokt33r/reduxlet

A small container component with an isolated Redux store.
https://github.com/rokt33r/reduxlet

flux react redux

Last synced: about 1 month ago
JSON representation

A small container component with an isolated Redux store.

Awesome Lists containing this project

README

        

# Reduxlet

[![Build Status](https://travis-ci.org/Rokt33r/reduxlet.svg?branch=master)](https://travis-ci.org/Rokt33r/reduxlet)

A small container component with an isolated Redux store.

## Intro

**Manage state of a component just like redux!**

Reduxlet create a redux store, which is context-free, for a single container component.
Let's use `actions` and `reducer` instead of using `this.setState`!

Also, lots of sugar is inside by default. Binding actions to dispatch, composing enhancers and applying middleware become much easier!

## Who needs Reduxlet?

Who want to make a **VERY POWERFUL** component.

- Who needs **very strict state control**
- Who needs **saga** for a React Component

## Reduxlet in real world

![Reduxlet in real world](./resources/reduxlet-realworld.gif)

- [NewGroupFormContainer (source code)](https://github.com/CarbonStack/carbonstack/blob/master/components/newGroup/NewGroupFormContainer.js)
- [NewGroupForm (source code)](https://github.com/CarbonStack/carbonstack/blob/master/components/newGroup/NewGroupForm.js)

## Packages

This is a monorepo. To find more information, please check the following links!

- [Reduxlet](packages/reduxlet/readme.md) : Reduxlet core library.
- [Reduxlet Saga](packages/reduxlet-saga/readme.md) : Reduxlet with Redux Saga support. This is a superset of [Reduxlet](packages/reduxlet/readme.md) core library.