+ 1
createElement vs JSX in react . Which one do you prefer ?
I am new to react . Wondering which of these two should be used . Got feedback that JSX is the new way of writing
1 Antwort
+ 6
This can help you choose:
Complete intro:
https://frontendmasters.com/courses/complete-intro-react/jsx-vs-createelement/
Differences between syntax:
https://stackoverflow.com/questions/49220252/differences-between-jsx-syntax-and-react-createelement
I dont have personal opnion about react, I used only JQuery and Angular.