All Projects → didierfranc → React Waterfall

didierfranc / React Waterfall

Licence: mit
React store built on top of the new context API

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Waterfall

Alveron
Elm & Reason inspired state management for React
Stars: ✭ 57 (-95.68%)
Mutual labels:  context
Material Flux
No magic flux implementation library.
Stars: ✭ 76 (-94.23%)
Mutual labels:  flux
Freezer
A tree data structure that emits events on updates, even if the modification is triggered by one of the leaves, making it easier to think in a reactive way.
Stars: ✭ 1,268 (-3.79%)
Mutual labels:  flux
Matplotlib Chord Diagram
plot chord diagram with matplotlib
Stars: ✭ 60 (-95.45%)
Mutual labels:  flux
Flocks.js
A radically simpler alternative to Flux - opinionated React state and rendering management
Stars: ✭ 72 (-94.54%)
Mutual labels:  flux
Fluxxan
Fluxxan is an Android implementation of the Flux Architecture that combines concepts from both Fluxxor and Redux.
Stars: ✭ 80 (-93.93%)
Mutual labels:  flux
Parse Comments
Parse JavaScript code comments. Works with block and line comments, and should work with CSS, LESS, SASS, or any language with the same comment formats.
Stars: ✭ 53 (-95.98%)
Mutual labels:  context
Spring 5 Examples
This repository is contains spring-boot 2 / spring framework 5 project examples. Using reactive programming model / paradigm and Kotlin
Stars: ✭ 87 (-93.4%)
Mutual labels:  flux
Fleur
A fully-typed, type inference and testing friendly Flux Framework
Stars: ✭ 74 (-94.39%)
Mutual labels:  flux
Fluidcontent
TYPO3 extension Fluidcontent: Fluid Content Element Engine
Stars: ✭ 82 (-93.78%)
Mutual labels:  flux
Go Httpwares
Go HTTP Server Middleware and Client Tripperware
Stars: ✭ 60 (-95.45%)
Mutual labels:  context
Reactive Flux
Fluxish model implemented with RxJS
Stars: ✭ 71 (-94.61%)
Mutual labels:  flux
Fluxus
Flux for SwiftUI, inspired by Vuex
Stars: ✭ 81 (-93.85%)
Mutual labels:  flux
Yewdux
Redux-like state containers for Yew apps
Stars: ✭ 58 (-95.6%)
Mutual labels:  context
Rx Connect
Glue your state and pure React components with RxJS
Stars: ✭ 86 (-93.47%)
Mutual labels:  flux
Nanoflux
A very lightweight and dependency-free Flux implementation
Stars: ✭ 56 (-95.75%)
Mutual labels:  flux
Suas Android
Unidirectional data flow architecture implementation for Android
Stars: ✭ 80 (-93.93%)
Mutual labels:  flux
Chi
lightweight, idiomatic and composable router for building Go HTTP services
Stars: ✭ 10,581 (+702.81%)
Mutual labels:  context
K8s Plus Aws Gitops
An approach for GitOps of AWS backing resources like databases with CodePipeline together with Kubernetes via Flux
Stars: ✭ 87 (-93.4%)
Mutual labels:  flux
Speedux
Speedux is an opinionated library that makes Redux much more fun to use.
Stars: ✭ 82 (-93.78%)
Mutual labels:  flux

react-waterfall

React store built on top of the new context API

Basics

store.js

import createStore from 'react-waterfall'

const config = {
  initialState: { count: 0 },
  actionsCreators: {
    increment: ({ count }) => ({ count: count + 1 }),
  },
}

export const { Provider, connect, actions } = createStore(config)

App.js

import { connect, Provider, actions } from './store'

let Count = ({ count }) => count
Count = connect(({ count }) => ({ count }))(Count)

const App = () => (
  <Provider>
    <Count />
    <button onClick={actions.increment}>+</button>
  </Provider>
)

Devtools

During development redux-devtools are automatically enabled. Install the extension.

Contributors

https://github.com/didierfranc/react-waterfall/graphs/contributors

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].