r/learnjavascript • • 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!

28 Upvotes

38 comments sorted by

View all comments

Show parent comment

1

u/shgysk8zer0 Feb 23 '26

Read the post again... Hell, just read the title. This isn't specific to DOM manipulation. This is about trajectory and what's worth learning and how much JS one needs to know for React.

Sure, the emphasis is about DOM, but... You've allegedly written a whole framework and should obviously know that's only a small part of the question that's actually being asked here, right?

0

u/Beginning-Seat5221 Feb 23 '26 edited Feb 23 '26

Try again

Which Vanilla JS style should I learn before moving to react

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?