Puxi, Shanghai — photo by Rick Glascock

React Router is the most popular package for setting up client side navigation within your single page app, and will be even better once Version 6 is officially released (smaller footprint, easily nested routes, and more!). But React Router isn’t magic, but rather built on a browser’s native window object’s APIs.

The Window interface is the container for all of the browser’s inner workings — DOM, JavaScript, global variables. It’s the mother ship.

The Window object represents the currently opened tab in a browser (or sometimes the entire browser window). …

Rick Glascock

After years of teaching music in Austin, Shanghai and Yangon, I’m making a career change to my other passion, software development.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store