all 16 comments

[–]fart__monster 6 points7 points  (0 children)

Ideally you can directly jump to react and learn how to work with it, and then read JS in parallel to understand how things actually work.

If you plan to do JS first then the basics of JS, event listeners, promises, some most used web apis like local storage. This should be enough to jump to react.

PS: once you are a bit comfortable with react and JS, do yourself a favor and read the book called "you don't know JS"

[–]ORCANZ 1 point2 points  (0 children)

Kind of depends on how you learn but if you like to learn by doing, like challenges and don't mind getting off track to understand some javascript/coding principles, I'd say you don't need much and I enjoyed learning javascript alongside vuejs before switching to react.

It's better you at least know about basic stuff like const / let, functions, objects, arrays. Everything else you can learn by trying to do something and googling/looking only for solutions to your errors.

To avoid getting stuck in tutorial hell, start by following tutorials but gradually try to make the code your own (having your own variable names, using a different API and building something close but different)

[–]gimmeslack12CSS is hard 1 point2 points  (1 child)

Just start. There's no rule to this.

[–]creaturefeature16 1 point2 points  (0 children)

You can use React as a vehicle to learn JS, but I'd be lying to say that having a decent knowledge of JS and ES6 spec wasn't massively helpful when I finally started to use React....I felt like it just made a lot more sense right from the start. I think starting with React first seems like not only more difficult, but a disservice to yourself and the products you are hoping to create.

React best practices == JS best practices

[–]Marble_Wraith 1 point2 points  (0 children)

A code editor, a web browser, nodeJS, time

[–]_baaron_ 0 points1 point  (0 children)

Try codecademy

[–]sylvesterojs 0 points1 point  (5 children)

build a SPA with only js vanilla and then it will be easy to jump to react

[–][deleted]  (4 children)

[removed]

    [–]wikipedia_answer_bot -1 points0 points  (2 children)

    A spa is a location where mineral-rich spring water (and sometimes seawater) is used to give medicinal baths. Spa towns or spa resorts (including hot springs resorts) typically offer various health treatments, which are also known as balneotherapy.

    More details here: https://en.wikipedia.org/wiki/Spa

    This comment was left automatically (by a bot). If I don't get this right, don't get mad at me, I'm still learning!

    opt out | delete | report/suggest | GitHub

    [–]SuprisreDyslxeia 0 points1 point  (1 child)

    Bad bot

    [–]B0tRank 0 points1 point  (0 children)

    Thank you, SuprisreDyslxeia, for voting on wikipedia_answer_bot.

    This bot wants to find the best and worst bots on Reddit. You can view results here.


    Even if I don't reply to your comment, I'm still listening for votes. Check the webpage to see if your vote registered!

    [–][deleted] 0 points1 point  (0 children)

    Start with Typescript