September 2017
Intermediate to advanced
216 pages
6h 8m
English
The only other piece of state that we need to consider for this UI is the new Create Episode form. Just as we track the state of the filter controls in the results state, we need to track the state of new data as it's entered so that we have it when the user clicks on the Create button:
const app = App(Map.of( 'results', Map.of(...), 'create', Map.of( 'title', '', 'director', '', 'date', '', 'rating', 0 ));
Read now
Unlock full access