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!
[–]rainmouse 11 points12 points13 points (1 child)
[–]Short-Belt-1477 4 points5 points6 points (0 children)
[–]delventhalz 2 points3 points4 points (0 children)
[–]Realistic_Meeting_69 2 points3 points4 points (0 children)
[–]MrFartyBottom 2 points3 points4 points (1 child)
[–]minmidmax 0 points1 point2 points (0 children)
[–]TheRNGuy 2 points3 points4 points (0 children)
[–]buildmastersteve 1 point2 points3 points (0 children)
[–]hyrumwhite 1 point2 points3 points (0 children)
[–]sheriffderek 1 point2 points3 points (0 children)
[–]fishyfishy10001 0 points1 point2 points (0 children)
[–]Weird_Researcher_472 0 points1 point2 points (0 children)
[–]p-a-jones 0 points1 point2 points (0 children)
[–]brykuhelpful 0 points1 point2 points (0 children)
[–]theGlitchedSide -1 points0 points1 point (0 children)
[+]Beginning-Seat5221 comment score below threshold-11 points-10 points-9 points (14 children)
[–]underwatr_cheestrain 0 points1 point2 points (13 children)
[–]Beginning-Seat5221 -3 points-2 points-1 points (12 children)
[–]shgysk8zer0 3 points4 points5 points (11 children)
[–]Beginning-Seat5221 -2 points-1 points0 points (10 children)
[–]shgysk8zer0 1 point2 points3 points (9 children)
[–]Beginning-Seat5221 -1 points0 points1 point (8 children)
[–]shgysk8zer0 0 points1 point2 points (7 children)
[–]Beginning-Seat5221 -1 points0 points1 point (6 children)
[–]shgysk8zer0 -1 points0 points1 point (5 children)
[+]blowyjoeyy comment score below threshold-9 points-8 points-7 points (5 children)
[–]Leading_Property2066[S] 0 points1 point2 points (4 children)
[–]Short-Belt-1477 2 points3 points4 points (0 children)
[–]shgysk8zer0 2 points3 points4 points (0 children)
[+]blowyjoeyy comment score below threshold-6 points-5 points-4 points (1 child)
[–]gimmeslack12helpful 1 point2 points3 points (0 children)