Skip to content

Releases: didierfranc/react-waterfall

v4.0.3

14 Jun 07:19

Choose a tag to compare

  • getState is back ;)

v4.0.3

12 Jun 09:34

Choose a tag to compare

  • Add support for nextjs

v4.0.1

13 Dec 08:30

Choose a tag to compare

  • Fix redux devtools

#92

v4.0.0-beta.4

02 Jul 18:36

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

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

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

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

Choose a tag to compare

v3.0.2

09 Apr 18:07

Choose a tag to compare

v3.0.1

31 Mar 16:38

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.