Check out the latest issue

Recent newsletters

Other newsletters

react

You’re up against a timeline. It’s you vs. the world (or your boss). You have one mission, which must be completed in order to save your loved ones from a grim fate. The challenge? A thousand React apps. What do you do? Now, before you console log “mommy, help.” —

React VR is a library that allows you to write virtual reality apps for the web using JavaScript and React on top of the WebVR API. This specification is now supported by the latest (or in some cases experimental) versions of browsers such as Chrome, Firefox, and Edge, and you don’t need to have a headset to access VR in a browser.

All of the code you write will live under the src folder. You can organize into subfolders as you see fit. But how should you organize it? For this, you have a multitude of options, which is why it’s such a paralyzing thing. If you screw this up, the project could be doomed right from the beginning! At least, it feels that way.