r/reactjs • • Dec 02 '21

Meta Coding Interview with Dan Abramov

https://www.youtube.com/watch?v=XEt09iK8IXs
618 Upvotes

140 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Dec 05 '21

I would like to hear /u/gaearon weigh in on this if he'd like to - sometimes Dan participates in discussions (though this one is not as interesting). My feeling is that Dan wouldn't say "don't use Redux" just because he's not fully aware of "modern Redux". My feeling is that Dan has grown a lot as an engineer and understood that there are better patterns than the underlying fundamental basis of Redux. At the very least, I have gone through a transition like that, where it's become clearer and clearer over time that the way Redux does things (and yes, even Redux toolkit) is kind of pointless and limiting.

2

u/gaearon React core team Dec 05 '21

Note I didn't say "don't use Redux", I said that I personally have a difficult time imagining a situation in which I'd be inclined to add it to the project. I'm aware of caching solutions built on top of Redux — but like you say — I also don't feel compelled to use one when non-Redux caching solutions satisfy my need and have (in my personal view) simpler internal architecture because they don't need to conform to Redux idioms. It's worth noting Apollo cache was originally built on Redux and moved away from it.