4 ms·
I'm not sure if this is good API design, but it definitely sounds like a fun thing to try. I'll keep it in mind for a personal project. Edit: Actually when you
by mlangenberg 11y ago
I'm not sure if this is good API design, but it definitely sounds like a fun thing to try.
I'll keep it in mind for a personal project.
Edit: Actually when you pass all state as props, this will even apply to typing in a textarea. Better make sure the roundtrip is pretty short!
- geon 11y agoI let the textarea take care o itself. I hate when they try to change the text while I type. The update wouldn't be sent until it is unfocused or possibly after a set delay after the last keypress.