Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 893 Bytes

W4-homework.md

File metadata and controls

25 lines (14 loc) · 893 Bytes

Homework Week 4

Base your week 4 homework on the result of week 3.

When you are done, create a new PR for week 4.

Outline

Refactor your todo list app so that all state is handled by MobX stores. You may want to keep some form state as local state inside React components. But think carefully about this.

Make sure to only mutate your store(s) with MobX actions - you will need to move all your handler functions inside your MobX store(s).

To use decorators (the @ syntax) with create-react-app, follow this tutorial.

You must have MobX strict mode enabled. Any homework submitted without strict mode on will be rejected. You enable strict mode like this:

configure({ enforceActions: 'observed' })

Scoring

You will be scored on:

  • Correct functionality
  • Code organisation
  • Cleanliness of code