Exercises
After completing the Support international zip codes feature, did we switch coding paradigms here? Is our implementation above imperative, reactive, or a combination of both? If our implementation is not entirely reactive, how would you implement this function reactively? I leave this as an exercise for the reader.
Don't forget to execute npm test
, npm run e2e
, and npm run test:a11y
before moving on. It is left as an exercise for the reader to fix the unit and end-to-end tests.
Visit GitHub to see the unit tests that I implemented for this chapter at https://github.com/duluca/local-weather-app/tree/master/projects/ch6.