reduxjs / redux

A JS library for predictable global state management
https://redux.js.org
MIT License
60.79k stars 15.27k forks source link

[Docs] Create video/interactive versions of the new Redux tutorials #4024

Open markerikson opened 3 years ago

markerikson commented 3 years ago

Last year I rewrote the Redux core docs tutorials from scratch. We now have the "Essentials" tutorial, which teaches RTK as the default syntax for writing Redux logic, and the "Fundamentals" tutorial, which teaches the underlying principles and mechanics and finishes with showing how RTK simplifies your Redux code.

However, both tutorials are very long (25K words), and are in written form. It's clear that many people prefer learning from videos.

Dan Abramov's Egghead videos on Redux are still amazing for learning how Redux works from the bottom up, but the approaches they show are unfortunately outdated at this point: separate actions/constants/reducers, SCREAMING_SNAKE_CASE variables, etc.

I would love to see someone else adapt the Essentials and Fundamentals written tutorials into a video course format, or an interactive Scrimba-style course like the Vue docs have, and then we could link those in the docs as additional learning options.

xjamundx commented 3 years ago

I'm actively working on an RTK course for egghead, but it's not based off of your essentials material. Happy to provide coaching or support if you wanted to do your own. I think people do want to hear from an actual expert and you would make a few bucks. If that really doesn't appeal to you though, I would be more than willing to work on a new course based on official redux material if that would be helpful to the project.

markerikson commented 3 years ago

@xjamundx yeah, would definitely love to collaborate with you in some way! I can see value in multiple potential courses, really:

phryneas commented 3 years ago

@xjamundx Yup, if something comes up there I'd be in for that. I did some videos (cringe warning, those were my first attempts!) when we first released the RTKQ alpha and it was a rough experience (and I fucked up quality when encoding :facepalm:), so "coaching" sounds like a great learning opportunity!

xjamundx commented 3 years ago

I have two right now: https://egghead.io/courses/modernizing-a-legacy-redux-application-with-react-hooks-c528 https://egghead.io/courses/redux-with-react-hooks-8a37

And then the new one is going to be called : Build an Online Store with React, React Router, RTK, CSS Modules, Vite and TypeScript

Which covers a lot, but it's kind of nice to build an entire application from scratch and seeing how all the piece fit together and how each part builds on the other. The store part is kind of fake, but a shopping cart where every page can see the current number of items in the cart I thought was a good way to demonstrate selectors, memoized selectors and redux in general. I also focus on adding Types and Tests for all the redux-related code, which has been a bit of a blind spot for some folks.

Let me get this one finished and then happy to collab!

I definitely think an RTKQuery course is in order!