Subscribe with Email

News

Sick of "Todolist" Redux tutorials? React.js Program's "Redux + Immutable" course is finally going live tomorrow. To celebrate, the first 50 signups over the next 24 hours will receive 20% off the "Redux + Immutable" course or 33% off the "React.js Program Bundle" package.

In the Redux course you'll learn all about what makes Redux special for managing state in your application. You'll build an actual "real world" application so you can see how Redux handles edge cases like optimistic updates and error handling. You'll also learn many other technologies that work well with Redux like Immutable.js, Firebase, and CSS Modules.

If you're even remotely interested, these reviews will probably convince you.

Articles

Redux is great - but that doesn't mean that it's not possible to write "bad" Redux code. In fact, if you're new to Redux there are some common mistakes that you should be aware of. One of those is breaking encapsulation. This article discusses how to fix that.

Want to use React Native? Of course you do. If you went to React Conf or F8, you know Facebook is behind React Native 100%. Here's a handy article on how to pitch React Native to the other developers on your team.

Without any modifications, React is really fast as-is. There are, however, a few things that you can do to improve performance. While working at HelloSign, Freddy Rangel discovered some quick fixes that made their apps incredibly snappy. With these simple changes, he was able to reduce render time from over 3000 milliseconds to less than 200 milliseconds.

Tutorials

If you've built anything with Redux you've also probably used some handy redux-middleware. Middleware in redux gives you access to the state changes and actions going on in your app. You can do a whole host of cool things with middleware, like mirror your state in local storage or set up fancy caching layers to your app.

Creating middleware is almost as easy as using middleware, but there aren't a lot of good resources to help you get started. Zach Silveira has given us just that; a handy resource for creating redux middleware!

Functional Reactive Programming is currently one of the hottest paradigms in the JavaScript community. Manuel Wieser played with RxJS over the last couple of weeks and decided that there is no better way to dive into it than recreating a classic game. Computer games infamously store a lot of external state and my goal was to model everything as streams without relying on a single external state variable. This post shares with you his approach as a complete beginner to RxJS.