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!
The react website itself has a pretty good tutorial
https://react.dev/learn https://react.dev/learn/tutorial-tic-tac-toe
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
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.
What SSR libraries are there in Python? Asking as another back end guy who doesn’t know too much here.
Django, Flask, FastAPI
Wait what? TIL.
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.
Maximilian Schwarzmüller got a very good course on udemy. Just wait a bit for the next and frequent sale. It’s worth it.
I second this.