#74 Minimal Redux Setup
this week's favorite
The Redux docs have a great page . I’d like to take this to the extreme and explore the benefits of having the most minimal possible Redux setup. To take a step back, consider what drove many of us “vanilla” React users to giving Redux a shot — the ability to connect arbitrary components to our global app state instead of passing down state and update functions through every node from App to leaves.
Virtual DOM (VDOM aka VNode) is magical ✨ but is also complex and hard to understand😱. React, Preact and similar JS libraries use them in their core. Unfortunately I couldn’t find any good article or doc that explains it in a detailed-yet-simple-to-understand fashion. So I thought of writing one myself.
At Oculus Connect 3, we announced our work to bring React VR to the VR Web. Today, we’re very pleased to share the React VR pre-release! If you’re new to React and React Native, you can read more on their websites here: React and React Native. You can also experiment with React VR using the Carmel Developer Preview.
Being able to change a React component’s behaviour based on the props you pass it is one of it’s great features. However, it can be easy to fall into a habit early in a project of building a few really generic components that can be used in lots of places.