Digests » 85

this week's favorite

How I built a super-simple game using React-Native Today I released a simple React-Native game on the App Store with the aim of providing some tips on how to handle small React-Native projects like this one. The game is, of course, completely open-source, you can find the repository on GitHub and in the App Store.

Reducing React jank with (possibly hacky) use of WeakMap Say you’re building a new application. This application is going to be the thing that updates your company’s product experience to the latest and greatest. You/your designers have mocked up an interaction heavy design, where things updated on the screen will dynamically change other parts of the UI.

10 React mini-patterns Over the last few years, I’ve worked on a handful of decent-sized React projects, and many, many pint-sized ones. Throughout this magical journey, a number of patterns have come up that I find myself repeating again and again.

The Haiku Of React Routing Principles Junctions.js is a router that is based on principles. These principles ensure that Junctions works with React instead of fighting against it. They’re the reason that junctions.js lets you write idiomatic React components instead of some routing-specific dialect of React. And as it happens, they form a haiku.