fuse-mars / redux-research

Different ways to use redux (Typescript, Immutable-js)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redux Research

Exploring different ways of using redux

Typescript 1

# found in folder ./typescript-1

TODO

Typescript 2

# found in folder ./typescript-2

So far my favorite implementation because you can define

  • State as an interface so that you do not end up accessing piece of data that is not part of your state
  • Action types as enum, that way you don't have to write error prone strings in your action creators

Immutable-js

# found in folder ./immutable-js

TODO

mastermind

# found in folder ./mastermind

An interesting idea from my co-worker, that relies on the power of Immutable-js to get rid of switch statements that exists in every reducer

About

Different ways to use redux (Typescript, Immutable-js)


Languages

Language:JavaScript 52.0%Language:TypeScript 48.0%