May 2019
Intermediate to advanced
496 pages
10h 38m
English
It would help you to get acquainted with the codebase before we begin.
The file src/parser.js and the directory src/language contain the Logo interpreter. There are also corresponding test files in the test directory. We won't be modifying these files, but you may be interested in seeing how I've test-driven this functionality.
There is a single Redux reducer in src/reducers/script.js. You should take a look at this, particularly defaultState, which shows how we store states in Redux. Almost all of the React components use this state in some way.
We'll be adding two more reducers into this directory: one for undo/redo and one for prompt focus.
The files src/index.js and src/store.js are untested and contain the ...
Read now
Unlock full access