mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-02 21:03:43 -05:00
On changes to the react bundle webpack will store the current redux state in localStorage, waits (to allow the server to restart) then refreshes the page. On page load, it checks if it has state stored and loads it into the app.
14 lines
326 B
Plaintext
14 lines
326 B
Plaintext
doctype html
|
|
html(lang='en')
|
|
head
|
|
if title
|
|
title= title
|
|
else
|
|
title Free Code Camp
|
|
include partials/react-stylesheets
|
|
body.no-top-and-bottom-margins(style='overflow: hidden')
|
|
#fcc!= markup
|
|
script!= state
|
|
script(src=rev('/js', 'vendor-challenges.js'))
|
|
script(src=getBundleLocation())
|