69f8ff516c
Made word form component able to edit and add words for better reusability, fixed submit on enter.
2016-09-24 07:59:06 -06:00
6e13c7da53
Got word editing working correctly. Need to add labels to fields, maybe use word form component instead.
...
Need to fix simpleDefinition not updating.
2016-09-23 11:59:38 -06:00
821330073a
Got words displaying and sorting correctly! Editing words works, working on editing individual word fields.
2016-09-22 18:08:14 -06:00
9ecfa40ec7
Improved Inputs and NewWordForm, and made inter-component references more prolific.
...
Made Inputs able to clear themselves, made NewWordForm able to clear itself and not rely on WordForm, added form validation for NewWordForm.
Made Dictionary only display referenced data.
Having trouble getting words to update the list correctly. Editing them works, but adding new words duplicates the first word created when rendering.
2016-09-22 14:05:49 -06:00
9a90108fe6
Learned how to modify objects in a component's state.
2016-09-22 08:25:49 -06:00
1e2758f3d3
Got dictionary and words displaying by reference.
...
Need to decide where the dictionary will be stored so all components needed to reference it will be able to.
2016-09-22 07:42:07 -06:00
4521dac524
You need to return the value after you map it to the array, you idiot!
...
Now I need to go back and abstract the word data so it gets passed as a reference to the Word component instead of as straight data so it'll be easier to save/load.
2016-09-21 18:25:39 -06:00
a7068d640a
Having trouble getting the Dictionary component to render its list of words at all, let alone re-render when it's updated.
...
Added working header and button components, made sass imports work by putting _ before the .scss files to import.
2016-09-21 18:18:54 -06:00
15f26883e6
Got new word form React component working and rendering mostly correctly in ES2016!
2016-09-21 14:40:25 -06:00
d914d8f133
Started on the path to node compatibility, but it's not usable yet.
...
Need to figure out how to require() defiant.js...
2016-09-20 15:59:59 -06:00