Skip to content

3. Problem Solving Approach

togiberlin edited this page Oct 11, 2020 · 2 revisions

My Approach to Implementing Components

  1. Build a static version of the component with hardcoded mock data.
  2. Break down the static HTML into components with parent -> child data flow.
  3. Hard code the initial state.
  4. Create state mutations.
  5. Rinse and repeat.

My Approach to Implementing State Management

  1. Code state objects.
  2. Create mutations, that will occur.
  3. Create actions, which will call mutations.
  4. Create getters for computed state data.
  5. Rinse and repeat.

Clone this wiki locally