Closed stefaneng closed 8 years ago
stefanend, thanks for help, but i think that the boilerplate need have small code. I see that you used a variable in render, but it's a bad idea, becouse will reset after render. I think a code of component must have only state or props. What do you think?
You are right, I this leaving it as is will be better.
Only add non-empty items, and add items when enter is pressed and the input field is focused.