Skip to content

krzyszt/react-redux-rxjs-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-redux-rxjs-boilerplate

React and Redux-Observable boilerplate with Neutrino

A highly opinionated, advanced starter kit for web development using React, Redux and Redux-observable. Built with Neutrino.

An Angular 5 version you can find here angular-redux-rxjs-boilerplate.

Quick start

  1. Clone this repo using git clone https://github.com/krzyszt/react-redux-rxjs-boilerplate.git
  2. Move to the appropriate directory: cd react-redux-rxjs-boilerplate
  3. Run yarn install in order to install dependencies
  4. At this point you can run yarn start to see the example app at http://localhost:5000

Redux and Epics(Redux-Observable). Welcome to Reactive Programming!

The starter kit comes with a configured Redux store which uses Redux-observable (RxJS 5- based middleware for Redux).

Redux-observable turns every action emitted by your Redux app into an observable stream. The core primitive of redux-observable is called an epic, which is a function that listens for actions on that stream, and allows you to react to those actions before optionally emitting new actions yourself — actions in , actions out.

To add a new application slice just add a new reducer to the rootReducer then add new actions and epics or replace existing ones.

Testing

The starter kit comes with a configured testing environment.

Run yarn test, yarn test-watch or yarn test-coverage for testing.

Build

Run yarn build to build the application.

Storybook

The starter kit comes with a configured Storybook

Run yarn storybook to see the storybook at http://localhost:6006

About

React and Redux-Observable boilerplate with Neutrino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published