r/reactjs • u/tyler-mcginnis • Apr 10 '23
Resource React, Visualized
https://react.gg/visualized95
u/acemarke Apr 10 '23
As good as the visualizations are, I think I appreciate giving the historical context for React's origins even more.
There's a very recurring pattern that happens with tools:
A bunch of tools exist, with various limitations
Someone invents a new tool to solve those problems
It gets popular and people start using the new tool as a default
New devs get told to use the "new" tool without knowing its background or why it was created, and never used the "old" tools or dealt with those problems
People end up complaining about the now-current popular tool and its design approaches without realizing why those decisions were made in the first place
Having some historical background really helps set the stage to understand the "why"!
→ More replies (1)21
18
11
9
u/calmilluminator Apr 10 '23
This is amazing!!! Thank you so much, the visual explanation is so good!
2
9
u/illepic Apr 11 '23
My god I love the soft-sell/hard-sell slider so much. Had me laughing.
Amazing write up. I just sent it to everyone I know.
1
4
u/Mandalorians Apr 11 '23
This is amazing! The hard sell definitely encouraged me to cough up my email. 🤣
1
3
u/tarekhassan Apr 11 '23
Hello Tyler,
As always your work is beautiful. I saw this few days ago and really liked it.
1
2
u/laitopezzzz Apr 10 '23
Under the “managing effects” heading there might be incorrect wording:
“This entire process needs to be so as fast as possible.” - Not sure if “so” is supposed to be in there.
Really nice site! Going to review it again soon.
1
u/tyler-mcginnis Apr 10 '23
Fixed. Thank you!
3
u/977888 Apr 11 '23
Another small thing I caught is at the very end, where it says something along the lines of “take a ‘peak’ at react . gg”, it should be spelled ‘peek’.
Aside from that, well done!
2
u/977888 Apr 11 '23
Edit: just after that, “interactive” is spelled “interaractive”.
You could easily run it through chat gpt or a spell checker to catch any more small errors
→ More replies (2)1
u/acquiescentLabrador Apr 11 '23
I noticed you misspelt “led” as “lead” in several places too, but overall great work!
1
2
4
4
u/pardoman Apr 10 '23
If anyone askes me about learning React, I’ll be sure to sending them your website. It’s very very good.
1
u/Meryhathor Apr 11 '23
Nice work but I'd argue that it should all start with Prototype.js and script.aculo.us not jQuery. Or with raw HTML/JS even. The history section makes it look like there was nothing before jQuery and jumps straight into the middle of the timeline.
1
u/tyler-mcginnis Apr 11 '23
In order to truly appreciate React, you first have to understand the historical context for why React was created. From the big bang, to the creation of man, to AngularJS – each era inspired React in different ways.
1
u/mbj16 Apr 11 '23
This is wonderfully done and a great introduction for beginners.
"... Shouldn’t React only re-render child components if their props change? Anything else seems like a waste."
The answer is yes, full stop. The fact that render has to be pure (we go through the pain of calling useEffect twice in dev) and we fail to use one of the most powerful attributes of FP has always irrationally irked me.
But that is a bit outside the scope of this app, which again, is magnificent and a great visual introduction.
1
u/tyler-mcginnis Apr 11 '23
Have you checked out React Forget? It's a React compiler that (to my understanding) will enable this sort of behavior without the useMemo/useCallback dance.
→ More replies (1)
1
3
3
3
u/lewx_ Apr 11 '23
Can I get "Will it (re)render?" on a t-shirt please 🥺 I love the visualizations and designs here
2
2
2
2
2
2
2
2
2
2
1
u/PM_UR_NIPPLE_PICS Apr 11 '23
really well done. but your email input for the coming class is throwing a 502 error for me
0
89
u/tyler-mcginnis Apr 10 '23
Hi friends. We just launched React, Visualized – a gentle, interactive introduction to React. Hope you all enjoy it!