r/learnjavascript • u/Leading_Property2066 • Feb 22 '26
Which Vanilla JS style should I learn before moving to React?
Hi everyone,
I’m currently learning Vanilla JavaScript through the SuperSimpleDev YouTube course, and everything was going really well until I reached the Amazon project section. He starts using template literal HTML rendering where he injects JavaScript inside HTML strings, and I found it quite confusing compared to the earlier DOM manipulation approach.
Now I’m wondering which Vanilla JS style should a beginner focus on learning properly? Do most developers use template literals, DOM methods like createElement, or something else before moving to React?
For those who transitioned to React, what did you personally learn first that helped you the most?
Thanks in advance!
View all comments
Show parent comment
0
u/Beginning-Seat5221 Feb 23 '26 edited Feb 23 '26
What is actually wrong with you?
This thread is about DOM manip vs Inserting code into HTML strings vs rendering in React.
It's not about the rest of app development. No one said don't learn JS.
You keep posting these bizarre irrelevant comments.