Move mock data to HTML template
In order to get the events from the server into our app, the approach we're going to
take is, we're going to get the server to write the events into our index.html file.
So that when the user refreshes the page, they get this index.html file and all the
data is hard-coded into the file and that is used as the initial state.
So let's put a script tag here, we're just going to do a bit of a proof-of-concept in this video.
What we're gonna do is we're gonna create
Click to load comments...