Skip to content

Releases: didierfranc/react-waterfall

v4.0.3

14 Jun 07:19
Compare
Choose a tag to compare
  • getState is back ;)

v4.0.3

12 Jun 09:34
Compare
Choose a tag to compare
  • Add support for nextjs

v4.0.1

13 Dec 08:30
Compare
Choose a tag to compare
  • Fix redux devtools

#92

v4.0.0-beta.4

02 Jul 18:36
Compare
Choose a tag to compare
v4.0.0-beta.4 Pre-release
Pre-release
  • This release allows you to make consecutive actions calls, with state always up to date
const Count = connect(({ count }) => ({ count }))(({ count }) => count)

class App extends Component {
  componentDidMount() {
    actions.increment()
    actions.increment()
    // <Count /> will display `2`
  }
  render() {
    return (
      <Provider>
        <Count />
      </Provider>
    )
  }
}

Watch it there

v4.0.0-beta.3

11 Jun 20:46
Compare
Choose a tag to compare
v4.0.0-beta.3 Pre-release
Pre-release

Basic example

getMovies: async (_, actions, load) => {
  if (!load) await actions.getMovies(true)
  else return { movies: { loading: true } }
  
  const data = await fetchMovies()
  return { movies: { loading: false, data } }
}

β†’ You'll find this example in context here

v4.0.0-beta.2

29 May 22:02
Compare
Choose a tag to compare
v4.0.0-beta.2 Pre-release
Pre-release
  • Every actions now return a Promise πŸ‘Œ(#55)
<button
  onClick={async () => {
    await actions.doSomething();
    actions.doSomethingElse();
  }}
>
  +
</button>
  • You can now provide state to Provider (#60)
<Provider initialState={state}>
  <App />
</Provider>

v4.0.0-beta.1

24 May 21:13
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

πŸ₯

  • "Codebase" has been rewritten from scratch 😻
  • Better flow coverage πŸ‘Œ
  • Splitted code between components and helpers βœ‚οΈ
  • Simpler API πŸ’ͺ
  • Keep the original philosophy πŸ™ƒ
  • Some bugs have been eliminated πŸ’Š

v3.0.7

10 May 09:57
Compare
Choose a tag to compare

v3.0.2

09 Apr 18:07
Compare
Choose a tag to compare

v3.0.1

31 Mar 16:38
Compare
Choose a tag to compare

What it was just a tutorial for the new context API has become a simple store for #ReactJS used in real life.