3 ms·
Neither of these are true of Netflix’s home page, though. They’re not deferring React and thus causing unresponsivity; they’re deferring React and handling the
by derefr 9y ago
Neither of these are true of Netflix’s home page, though. They’re not deferring React and thus causing unresponsivity; they’re deferring React and handling the interactions on the home page using server-side rendering and regular JavaScript event handlers. React is loaded in the background so that it can be there when you log in and thus load the “app” part of Netflix; not so that it can “kick in” after 2s to drive the homepage.