Skip to content

Opinionated, Redux abstraction with built-in immutability, async and more. Heavily dva inspired.

License

Notifications You must be signed in to change notification settings

gl3nn/react-resux

 
 

Repository files navigation

React-Resux

NPM Build Status Coverage Status David David Bundle Phobia License

Introduction

Opinionated, Redux abstraction with built-in immutability, async and more. Heavily dva inspired.

Installing

Using npm:

$ npm install react-resux react-resux-hooks --save

Using yarn:

$ yarn add react-resux react-resux-hooks

Naturally, the react-resux-hooks package is optional, in case you're willing to use our hooks API.

Benefits

  • Easy to use and learn. Only a few public interfaces (i.e. combineModelReducers, subscribersRootSaga, Model, Subscriber, connectResux or equivalent hooks).
  • Boilerplate reduction (i.e. actions, dispatchers, reducers).
  • Immutability with normal JavaScript objects and arrays. No new APIs to learn!
  • Async, typescript, memoised selectors, and hooks support.
  • Tiny footprint (i.e. ~6KB).

Demos

Documentation

Documentation is available here: https://kayak.github.io/react-resux/

License

Copyright 2019 KAYAK Germany, GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Crafted with ♥ in Berlin.

About

Opinionated, Redux abstraction with built-in immutability, async and more. Heavily dva inspired.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 83.6%
  • JavaScript 16.4%