Best Practice for DOM manipulation?
Best Practice for DOM manipulation?

My very naive understanding of the React best practices is that we
shouldn’t manipulate the DOM anywhere other than the render function.
The original onSubmit method was manually change the DOM value for the
URL input field. Is my assumption on best practices correct? The
alternative - which is in this pull request - seems quite verbose. Is
it the “correct” way?

andrewslater/fluxxor,SqREL/fluxxor,chimpinano/fluxxor,nagyistoce/fluxxor,STRML/fluxxor,VincentHoang/fluxxor,thomasboyt/fluxxor,demiazz/fluxxor,davesag/fluxxor,davesag/fluxxor,VincentHoang/fluxxor,dantman/fluxxor,chimpinano/fluxxor,BinaryMuse/fluxxor,nagyistoce/fluxxor,hoanglamhuynh/fluxxor,dantman/fluxxor,davesag/fluxxor,vsakaria/fluxxor,chimpinano/fluxxor,hoanglamhuynh/fluxxor,STRML/fluxxor,hoanglamhuynh/fluxxor,nagyistoce/fluxxor,alcedo/fluxxor,webcoding/fluxxor,dantman/fluxxor