“Our explicit goal is to ship precisely the JavaScript required to initially render the visible portion of the page and make it interactive, not one line more.”Tagged: Refactor, Loading Spinner, Performance
“Gone are the days, friends, of the monster Single Page App (SPA) with a gruesome loading spinner on initialization. This dreaded loading spinner was the objection many folks raised when we pitched the idea of client-side routing with React Router.”Tagged: Refactor, Loading Spinner, Performance
“But once you endeavor to render the route client-side, you need to be able to request the data you need dynamically and in a predetermined shape. In the future, we may crack this problem with something like GraphQL, but let’s set that aside for now, as it wasn’t an option when this refactor took…”Tagged: Refactor, Data Types Are Important