At this point, the To-do list looks like this:
To-do:Create new notes*- NoteEditor component- Update current note mutation- Add note to noteList mutation- Add note actionUpdate an existing noteDelete a noteSave notes to LocalStorageExtra:Search among notesPin a noteDone:Show all notes - Add note list to the store - Note list vue component -- Add a temporary note list to the store
The next feature I will implement is the ability to create new notes. For this feature, we need a NoteEditor component, a store property named currentNote, an action named addNote, and two mutations: UPDATE_CURRENT_NOTE and ADD_NOTE.
The idea is that when a user writes in the note editor, the currentNote store property gets updated. When he taps ...