this post was submitted on 12 Apr 2025
20 points (88.5% liked)

Programming

19517 readers
58 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Hey folks!

I'm looking for some good resources, either video or written, to learn React.

As for background, I'm a relatively new programmer and I only used C & C++ and recently Python to build a Django application.

Any tips or pointers (unintentional pun) will be greatly appreciated! 👏

Thanks in advance!

top 10 comments
sorted by: hot top controversial new old
[–] Kelho@lemmy.ml 2 points 3 days ago

Thanks for the answers, everyone! I'll be having a look at each suggestion this week! 🦾

[–] rbits@lemm.ee 9 points 4 days ago
[–] Endmaker@ani.social 5 points 4 days ago* (last edited 4 days ago)

Any tips or pointers (unintentional pun) will be greatly appreciated!

IMO the most important thing when it comes to frameworks like this is state management.

Once you truly understood it / know how to do it properly, you are good to go.

P.S. My guess is that React got its name because it reacts to changes in state

P.P.S. this documentary on React provides insights on its history

[–] footfaults@lemmygrad.ml 4 points 4 days ago* (last edited 4 days ago) (1 children)

This might be unpopular because I'm an old head, when jQuery was a must because of IE6, but I would maybe start out learning vanilla Javascript first, at least a little bit, before diving into React, just so that you have more background about Javascript rather than just experience in a single framework. I'm not saying do an entire application in vanilla JS first, but maybe do a simple TODO app or something very small with Flask (or equivalent) and some light JS on the frontend.

I see you used Django recently, the one thing about Django's Form classes and Views is that it does a lot of the heavy lifting around form processing for you. Its super super awesome and gets all that annoying shit out of the way so you can deal just with application logic, but it might be worth dropping down to Flask or Node or something else where you don't have form processing and building done for you, and do vanilla JS with that.

Then again I hate javascript and do almost all server side rendering in Python or Zig so take what I say with a grain of salt.

I've been writing web applications and just sprinking a tiny bit of JS in the apps, and have generally avoided the whole JS framework mess.

[–] SatouKazuma@programming.dev 1 points 4 days ago (1 children)

What SSR libraries are there in Python? Asking as another back end guy who doesn't know too much here.

[–] footfaults@lemmygrad.ml 1 points 4 days ago (1 children)
[–] SatouKazuma@programming.dev 1 points 4 days ago (1 children)
[–] footfaults@lemmygrad.ml 1 points 4 days ago* (last edited 4 days ago)

SSR libraries

Let me clarify. I meant server side rendering as in the response is all generated server side.

NOT JavaScript SSR where parts of your JavaScript code run on the server side.

https://developer.mozilla.org/en-US/docs/Glossary/SSR

[–] 8263ksbr@lemmy.ml 3 points 4 days ago (1 children)

Maximilian Schwarzmüller got a very good course on udemy. Just wait a bit for the next and frequent sale. It's worth it.

[–] Drekaridill@feddit.is 1 points 4 days ago

I second this.