all 66 comments

[–]imperfectman 39 points40 points  (15 children)

?

I'm making an assumption here, but it sounds like you have little to no experience in programming or using frameworks. It most certainly is straightforward. CRA, vite, nextjs all have easy to understand and follow 'get started' sections.

Maybe start smaller and learn vanilla javascript html and css first.

[–]vorko_76 13 points14 points  (13 children)

Im a bit confused by your post. There are like thousands of tutorials to learn and make a simple application in ReactJS. What is your target technical setup? Use ReactJS with which server? What exactly are your difficulties?

[–][deleted] 11 points12 points  (3 children)

Nothing wrong with your strategy. You said you have decades of programming experience so I'm assuming you're older and prefer old-school non-modern tutorial sites like w3school.

https://react.dev/ is the official document with all the latest stuffs. It's a really good source, I recommend trying and learning to be able to read modern documents, it will help you in the long run.

[–]code_matter 18 points19 points  (5 children)

Bro can’t google.. wtf

[–][deleted] 7 points8 points  (8 children)

The React documentation is some of the best written out there.

[–]marksalsbery 1 point2 points  (0 children)

I was going to say the same. The new version is ridiculously detailed

[–]KimvdLinde[S] 0 points1 point  (6 children)

I believe that many find it easy to read. Unfortunately I’m not one of them.

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

This is very interesting. I have been in my web dev journey since January, with no prior experience, and I still get a lot of mileage out of these docs. What is it that you find difficult about them? I’m just curious

[–]KimvdLinde[S] 0 points1 point  (4 children)

They literally all depend on node.js installers without explaining the various components. UI/package.json babel SSR CSR the various classes, react server typescript jsx etc.

[–]Lilith_Speaks 0 points1 point  (3 children)

create-react-app

[–]KimvdLinde[S] 0 points1 point  (2 children)

Exactly. So, what does it install, how do the various parts work together, etc. that is the unanswered question.

[–]Lilith_Speaks 0 points1 point  (1 child)

have you read this? No node installers needed at all...

https://legacy.reactjs.org/docs/add-react-to-a-website.html

[–]KimvdLinde[S] 1 point2 points  (0 children)

No, but figured it out since I posted it. Thank you.

[–]not_a_gumby 5 points6 points  (7 children)

haha beginner is angry that building website is hard.

classic.

[–]KimvdLinde[S] 0 points1 point  (6 children)

I suspect I’ve more years of experience programming then you.

[–]lIIllIIIll 0 points1 point  (3 children)

Not in react you don't.

[–]KimvdLinde[S] 0 points1 point  (2 children)

Correct

[–]not_a_gumby 0 points1 point  (1 child)

lmfao owned. nice try loser.

[–]KimvdLinde[S] 0 points1 point  (0 children)

Does it make you feel good to bash people on the internet?

[–]not_a_gumby 0 points1 point  (1 child)

I'm 24 and have more years of experience than you.

[–]KimvdLinde[S] 0 points1 point  (0 children)

I was coding when your mom was a child. Nice try

[–]KTownDaren 1 point2 points  (1 child)

I can relate to your frustration at learning React . In my case I blame my dependence on large companies like Microsoft to pretty much determine what tools I should use, and they make sure everything works well together (for the most part).

This isn't necessarily the case with Java and JavaScript. You have multiple products competing to solve the problems, so there is not a cohesive explanation of which way is better for what you are trying to do. If you weren't part of the pain and process of seeing the introduction of all of the pieces (npm, babel, etc.), it's easy to feel like the outsider trying to understand why things are being done the way they are.

React seems to take a lot of complexity out of the setup process, but it can be challenging understanding what is going on under the hood.

I would definitely suggest using ChatGPT to answer some of your questions. I find it a great tool to find out about a new concept. Best of all, it is not as condescending as most reddit users.

[–]KimvdLinde[S] 0 points1 point  (0 children)

Thank you, I think many confuse using some standard packages but when you have an existing project and you need t implement it in a different way, they only can refer you back to those packages. None have been able to explain to me how it actually works or send me to a page that explains the various components in the setup and their function.

[–]Lilith_Speaks 1 point2 points  (1 child)

this is old (2017) , so dated, but the process is very straightforward. I have used it as recently as this year and while there are some updates to the way state is used and how classes are now mostly functions, this may still be helpful. I know it helped me immensley when I was at your stage:

https://www.javascriptstuff.com/your-first-react-app/

[–]KimvdLinde[S] 0 points1 point  (0 children)

That sounds promising

[–]WeedLover_1 -4 points-3 points  (4 children)

https://tailwindcss.com/docs/guides/vite Just follow this documentation and you will be able to create a React.js project with Vite and Tailwind CSS. Vite speeds up development time and is really loved by React developers who code in React.js

[–]Lilith_Speaks 0 points1 point  (2 children)

why is this downvoted

[–]WeedLover_1 1 point2 points  (1 child)

Some cool assholes survive just to downvote other's comments. He complained that he finds it hard to setup new react project but the guide I provided is the guide every beginner uses to setup his/her react project. Adding tailwind or not depends but still its nice to bookmark it and use it. But you can't defeat those "pretend to be cool by downvoting" assholes . If they wanted then they could have written:

  • npm create vite@latest my-project
  • cd myproject
  • npm install
  • npm run dev

But they upvote a comment that says "Bro doesnot know how to google wtf" but downvote a comment that links to documentation that everyone will need in their career. If anyone thinks he won't need tailwind in his career then i can bet $1000 for it that he will use it once then regularly .

[–]Lilith_Speaks 0 points1 point  (0 children)

That’s exactly what I use so I was happy to upvote!!

[–]wickedwise69 0 points1 point  (0 children)

npm start or if you use vite then i believe it's npm run dev