2
println
7y

Java Dev here trying to learn React... 1 hour later still no clue how to get started

Comments
  • 0
    Get some example package.json and webpack.config.js files and watch some YouTube tutorials. For me setting up Webpack and Babel properly was the hardest part as I came from writing jQuery in notepad++ with npm used only for the server 😆
  • 1
    There is a tool called 'create-react-app'. It sets up everything for you. It is meant for single-page apps
  • 0
    Webpack was a pain to learn at first, and it took me a while to understand why you need it. I eventually copied a Webpack config from some GitHub repo (I think Insomnia).

    Other than that, it's pretty easy to get going.
Add Comment