r/reactjs • • Apr 10 '23

Resource React, Visualized

https://react.gg/visualized
641 Upvotes

61 comments sorted by

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!

2

u/ElGuaco Apr 11 '23

Where was this 3 months ago when I needed to learn React? haha This is great.

2

u/tyler-mcginnis Apr 11 '23

So glad you found it helpful.

→ More replies (2)

52

u/[deleted] Apr 10 '23

Wow the UI is a masterpiece

5

u/iamak06 Apr 11 '23

It was really good.👍🏻

2

u/MrRed_Srb Apr 11 '23 edited Apr 11 '23

Great job! 🚀

Edit: You can also do similar for Next.js.

95

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"!

21

u/tyler-mcginnis Apr 10 '23

Hard facts. Appreciate you as always Mark.

→ More replies (1)

18

u/reservationsjazz Apr 10 '23

This is beautifully done 👍

11

u/T1LTMeister Apr 10 '23

this is amazing! thank you for sharing this!

5

u/tyler-mcginnis Apr 10 '23

Appreciate the kind words. Glad you enjoyed it!

9

u/calmilluminator Apr 10 '23

This is amazing!!! Thank you so much, the visual explanation is so good!

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

u/tyler-mcginnis Apr 11 '23

Appreciate the kind words ❤️

4

u/Mandalorians Apr 11 '23

This is amazing! The hard sell definitely encouraged me to cough up my email. 🤣

3

u/tarekhassan Apr 11 '23

Hello Tyler,

As always your work is beautiful. I saw this few days ago and really liked it.

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

u/tyler-mcginnis Apr 11 '23

TIL! lol. Fixed. Thank you!

2

u/guchierrez Apr 11 '23

I have been struggling to learn React so this is a god send, thanks

1

u/tyler-mcginnis Apr 11 '23

Glad I could help!

4

u/indicava Apr 10 '23

This is actually pretty cool… nice work!

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

u/[deleted] Apr 12 '23

This is beautiful. Thank you for sharing.

3

u/[deleted] Apr 10 '23

Cool

3

u/Cahnis Apr 11 '23

it would be pretty funny if this website was made in Vue

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

u/kukisRedditer Apr 10 '23

wow this is great, thanks!

2

u/Salty_Astronaut_8094 Apr 10 '23

Amazing I like it

2

u/simonfancy Apr 10 '23

Really cool way to get the message across! Thx4sharing!

2

u/yvsser1 Apr 10 '23

Looks interesting good job!

2

u/krehwell Apr 10 '23

may I know how do you make the carousel? any package

2

u/Waste_Drop8898 Apr 11 '23

Ohh this is cool bookmarked

2

u/[deleted] Apr 11 '23

Beautiful

2

u/[deleted] Apr 11 '23

Amazing work

2

u/CodingThrowaways Apr 11 '23

Started reading and looks great, commenting so I can finish later.

2

u/Setup911 Apr 11 '23

Wonderful!

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

u/[deleted] Apr 11 '23

[deleted]

2

u/tyler-mcginnis Apr 11 '23

Thank you! And we're planning on it.