r/reactjs • • Nov 25 '22

Resource I teach React courses - here's my updated collection of over 900 slides on various React topics (now also includes a topic checklist to track your progress, and I've started a video series)

https://marko-knoebl.github.io/slides/react-all-en.html
400 Upvotes

21 comments sorted by

18

u/marko_knoebl Nov 25 '22

Hope this is useful!

(Sorry it's not mobile friendly, but my main use of it is for presenting before an audience)

Track your progress by ticking off topics here

I've also started a YouTube video series on some of the topics

4

u/Jdbjfl Nov 25 '22

This is nice. Will definetly check it out. Can you also make a guide that will help do well for front-end interviews? Or react interviews? Or will this guide be enough?

35

u/MaxPhantom_ Nov 25 '22

This is great. But my preferred method is beta.reactjs.org Then build shit.

29

u/Protean_Protein Nov 25 '22

Then frantically check GitHub issues and stackoverflow to figure out wtf is going wrong?

13

u/Epicmau5time Nov 25 '22

The way it should be.

1

u/MaxPhantom_ Nov 25 '22

For the most part its pretty straightforward while learning. But when you are building shit this is inevitable and also a skill that you should cultivate

2

u/Protean_Protein Nov 25 '22

I’m self-taught (am old—learned C, Basic, Java, PHP back in the day… like… 90s). Building shit is all I do.

0

u/[deleted] Nov 25 '22

[deleted]

8

u/Protean_Protein Nov 25 '22

Way worse. I have never learned anything from a slide.

2

u/karlitojensen Nov 25 '22

Took a quick look. There is some code in there that ESLint would complain about.

4

u/marko_knoebl Nov 25 '22

Could you point out where? Some of the code is just snippets.

6

u/karlitojensen Nov 25 '22

Sure. Thank you for asking.

I see snippets like this that ignore a dependency. In this example `loadExchangeRage` is a dependency of the `useEffect`. This would at the very least show a "react-hooks/exhaustive-deps" warning.

const [from, setFrom] = useState('USD');
const [to, setTo] = useState('EUR');
const [rate, setRate] = useState<number | null>(null);
async function loadExchangeRate() {
  
}
  
useEffect(() => {
  loadExchangeRate();
}, [from, to]);

I understand that these are snippets, but when it comes to dependencies, we can't just leave them out.

2

u/marko_knoebl Nov 27 '22

Oh, thanks a lot for pointing these out!

I was able to rework some examples that would have resulted in a linter warning. I hope I got them all.

7

u/LiveTwizzle Nov 25 '22

As a fellow JavaScript instructor, this is awesome. Thanks!

5

u/rnsbrum Nov 25 '22

Hey, as a developer who is currently working on 2 react projects at my job, I found this really helpful! I'm gonna read it all!

I learned React through tutorials and just getting my hands dirty, this will help me get a better grisp on everything that I left behind. Thanks! Great work!

2

u/jayvg123 Nov 26 '22

took at look at few slides and found them very good! Will definitely plan to go through the entire 900 slides, thanks for publishing and sharing

2

u/rapPayne Nov 26 '22

u/marko_knoebl, this represents a ton of work. And you clearly know your stuff. Very cool of you to share it open source for everyone.

1

u/Domin-MC Nov 27 '22

How amazing it is... thanks fellow redditor

-2

u/capeus Nov 25 '22

no darkmode? i'm not able to read a website with such incredibly white background <.<

3

u/calmilluminator Nov 25 '22

Inverse colors?

1

u/Brilla-Bose Nov 26 '22

install dark reader extension for chromium based browsers

OR

use tampermonkey extension and write a simple script