Text input is one of the cases where local state can make sense, I was just 
pointing out some of the problems you can run into.  Like if you need to 
validate as the user is typing instead of when you submit the form.

If undo/redo is a requirement, then you have a valid point.  Personally, I 
think that aspect of React has been oversold.  There are some apps where it 
makes a lot of sense and is easy to do, like that drawing program that uses Om 
(Goya, I think that's the name). In many/most apps, it either doesn't make 
sense or it adds significant complexity.  Certainly any app syncing with a back 
end service will require more than just swapping out global state to support 
undo.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to