verekia / js-stack-from-scratch

🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.
MIT License
20.09k stars 1.99k forks source link

Feature suggestion: Form inputs #234

Open jjpank opened 7 years ago

jjpank commented 7 years ago

Feature suggestion: Form inputs

Perhaps this goes beyond the simple example you are striving for, but an integral part of most web apps is the ability to tie in user input elements. With your stack of tooling and examples (which I have been studying and find as a great resource), I am struggling a bit to get a working example of a simple input text form element getting stored back into the redux state as a controlled element (with actions handling "onchange" events, etc.) Most examples are using react local state, and/or not using pure functions.

Do you have any examples of this interaction working together in your style/template of code? It might be a good inclusion to your tutorial.

verekia commented 7 years ago

I absolutely agree, this should be part of the tutorial. Thanks for bringing it up.

gondar00 commented 7 years ago

I would like to suggest https://github.com/erikras/redux-form.

charlesottesen commented 6 years ago

https://github.com/erikras/redux-form//github.com/verekia/js-stack-from-scratch//bugzillaskeetshttps://gerv.makes.org/popcorn/1bn6/gabefinch:patch-1