Dave Ceddia
daveceddia.com · Personal blog · on HN since 2016
Dave Ceddia writes React tutorials and courses, covering Redux, the Context API, state, and the wider React ecosystem.
What HN saysCommenters recommend his site and free intro course for learning React, and cite his Redux versus Context post and Pure React book.
32HN people shared it
6linked it in comments
44stories submitted
1.6Kstory points
5 years agolast shared
2016people per year2026
Most-shared posts
- 1Redux vs. The React Context API4 people · 208 points · first shared 2018 · 73 comments on HN
- 2Pure react3 people · first shared 2018
- 3Introduction to Svelte2 people · 189 points · first shared 2019 · 108 comments on HN
- 4Projects to Help You Learn React (2017)2 people · 163 points · first shared 2017 · 2 comments on HN
- 5A Visual Guide to State in React2 people · 21 points · first shared 2016 · 4 comments on HN
- 6What Redux Does, and When to Use It2 people · 13 points · first shared 2017 · 2 comments on HN
- 7Implementing a Mockup: CSS Layout Step by Step2 people · 5 points · first shared 2019 · discussion on HN
- 8Linked Lists for JavaScript Developers2 people · 4 points · first shared 2020 · discussion on HN
- 9AJAX Requests in React: How and Where to Fetch Data2 people · 2 points · first shared 2017 · discussion on HN
- 10Article: Your Timeline for Learning React2 people · 2 points · first shared 2016 · discussion on HN
- 11State of the React Ecosystem in 20212 people · 1 points · first shared 2021 · discussion on HN
- 12Homepage2 people · first shared 2019
- 13React redux immutability guide2 people · first shared 2019
- 14Interview questions to ask your interviewer1 people · 333 points · first shared 2022 · 180 comments on HN
- 15Making Pulled Pork with React Native, Expo, and Express1 people · 210 points · first shared 2018 · 94 comments on HN
What HN people wrote when they linked it
mariedavid · 2021-09-02
Hello I am myself learning React right now. I love this website : https://daveceddia.com/
He provides a free 5-day intro course which is well-paced and gives you already plenty to start with. Then he offers a full fledged paying course which I have not tried yet, but I will most likely do. I love the approach : rather fast-paced, hands on, with a lot of exercices, which makes the knowledge sticks.
dceddia · 2020-10-17
First, congrats on launching the book. That's a huge achievement and you should be proud! It's also great that you've kept on it for 2 years, and published a lot of posts.
So the question is why hasn't it "worked" yet. There are TONS of new developers entering the field. The audience definitely exists, and they do hang out online.
I took Amy & Alex's 30x500 class a few years ago and it was a big factor in getting my blog + business (https://daveceddia.com) off the ground, so my ears perked up when you mentioned Amy!
I think you've got it right that she advocates for creating a tiny infoproduct first, but the emphasis is on tiny, less on education. Other tiny things are icon packs, or templates, or themes, etc. Small, quick-to-create, one-time-purchase products. Goal is to learn the entire build + market + launch cycle with low risk (vs building software for 6+ months that nobody wants). Once you get your footing with all of it, you can move up bigger/riskier products, if you want.
They also advocate that the content you create should deliver some kind of fix for a problem the reader has. Give the reader a win. Also, ideally, quickly helps the reader decide "this is for me". The easiest way to do that is to make it clear you understand their struggle.
I think this is where some of your posts could use tweaking. The "Write good commit messages" article, for instance, starts with "Take the time to write good commit messages." It's advice, yes, but is it for me…
satvikpendem · 2020-05-13
In contrast,
https://www.simplethread.com/cant-replace-redux-with-hooks/
https://daveceddia.com/context-api-vs-redux/
https://medium.com/javascript-scene/do-react-hooks-replace-redux-210ba…
TL;DR Context can replace some but not all of Redux. Redux can figure out which components to rerender based on what's being computed. Context doesn't, so it's basically the same as refreshing your entire component tree every time something changes. You could build it yourself, but at that point, you're just reinventing Redux.
I also like the Redux Toolkit (https://redux-toolkit.js.org/) which is an opinionated way to write Redux that cuts down the boilerplate a lot. createSlice is easily one of the best features, you can encapsulate Redux logic for each different type of content, like authentication, users, posts, etc.
acemarke · 2019-05-23
Immutability is a common part of functional programming approaches. In Javascript, it's especially common in the React+Redux community. Redux expects you will update data immutably, and React works best when you do immutable updates as well.
Here's some good overviews of why and how to do immutable updates in JS:
https://redux.js.org/faq/immutable-data
https://redux.js.org/recipes/structuring-reducers/immutable-update-pat…
https://daveceddia.com/react-redux-immutability-guide/
jerrycruncher · 2020-10-27
This is the resource I used (as someone who's been doing web development for ~20 years) to get a a basic understanding of React. It, plus some side projects, was enough to get me up to speed: https://daveceddia.com/pure-react/
I'm sure there are others that are free; but, this is what worked for me.
thatswrong0 · 2019-05-13
To properly embrace immutable.js and not have performance issues, you need to fully embrace it and it's API and use it as the basis for all of the models in your app. We did a half-baked approach which uses immutables in the data store (so we can leverage quick prop checks) but also convert those into normal JS objects in the business domain. This makes our use of it noticeably slow.
Immer [0] is a much better alternative IMO.. you get all the benefits of immutability without having to use a radically different API than normal. And the performance is roughly the same as immutable. And using it with Redux is natural [1], removing the need to do a bunch of nested object copies
[0] https://github.com/immerjs/immer
[1] https://daveceddia.com/react-redux-immutability-guide/#easy-state-upda…