May 2019
Intermediate to advanced
496 pages
10h 38m
English
Let's update our app to save the current state to local storage, which is a persistent data store managed by the user's web browser. Each executed statement will cause the entire set of parsed tokens to be saved. When the user opens the app, the tokens will be read and replayed through the parser.
We'll write a new piece of Redux middleware for the task. The middleware will pull out only two pieces of the script state: the name and the
Read now
Unlock full access