marten koomen wrote:React has quite a different paradigm to JQuery.
React seems very application oriented
there seems no starting assumption with React that you have a well formed HTML Dom that you would like to do stuff with
React doesn't sidle but barges into a web application.
JQuery assumes a DOM and is more focused on AJAX type interactions, so its a better fit for a website
React seems better suited for creating those banal Facebook applications (photo albums etc), where algorithms try to give you a sense that you have friends and that people remember your birthday, anniversaries etc, where in reality no one cares.
so that I will be sticking with these.
I get the sense that React is trying to undo this separation to make things that are entertaining.
Just thought I'd share these thoughts. It's always good to express them.
Ron McLeod wrote:Also, since the values of the user and pass are only set when the script is initially loaded, and not when the validate function is called, the values will always empty, regardless of what has been entered in to the form elements.
marten koomen wrote:How can I associated a bunch of state information unique to each user with its HttpSession object?
marten koomen wrote:In my first prototype I (as programmer) had complete control of how the DOM was changed using JQuery, I don't want to cede that control to a framework. But it seems React will allow me to maintain control.
marten koomen wrote:I feel that JQuery is close to the DOM. When I read about React and Vue I get a sense these are more high level and removed, and work in a quite different paradigm.
Gayathri Gayu wrote:What do you mean by the id values are unique?