+ 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

7th Oct 2018, 12:28 AM
Anshuman Sharma
Anshuman Sharma - avatar
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.
15th Nov 2018, 11:14 AM
Biel Blue
Biel Blue - avatar