Releases: didierfranc/react-waterfall
Releases Β· didierfranc/react-waterfall
v4.0.3
v4.0.3
- Add support for nextjs
v4.0.1
v4.0.0-beta.4
- 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
- One word has changed in source code 9ad7163#diff-1fdf421c05c1140f6d71444ea2b27638R64
- You can now pass actions to actions π, it has been inspired by @ktunkiewicz in this huge discussion
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
v4.0.0-beta.1
π₯
- "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
- Fix some issues with typing (both typescript and flow) #40 #41 @klassicd @VanthiyaThevan
- Introduce the missing
unsubscribe
causing a kind of memory leak #44 @hansoksendahl - Fix a bug blocking rendering #42 @elisherer
v3.0.2
- Fix a regression introduced in #20, redux devtools with the middleware from @elisherer now works as expected
v3.0.1
What it was just a tutorial for the new context API has become a simple store for #ReactJS used in real life.
- Production ready thanks to multiple fixes from @elisherer (#18 #19 #20)
- Compatibility added with redux devTools @elisherer
- Some basic examples were added in order to facilitate adoption @emilioicai