Lots of ternaries or conditional renderings inside JSX indicates that the component should be split in a different way. Component composition is so good, but you need to find out where best to slice it.
I noticed #reactFinalForm - @finalformjs doesn't get a lot of updates anymore. Is this just because it is feature complete? (it's a great lib!) But do I need to worry about deps being updated / that it will get continued maintenance moving forward ๐
๐New blogpost is out, about when and why to put query results into react context, and why this pattern isn't considered state syncing:
https://t.co/UTLlPmzZPW
Peter Thiel has a comment that I love: "Things that are real sciences don't need to put 'science' at the end of it."
Its Physics. Not Physics Science.
Its Chemistry. Not Chemistry Science.
Its Biology. Not Biology Science.
Its Electrical Engineering. Not Electrical Engineering Science
With science, you will learn exactly the same things, no matter where you go to school. While this may seem like a bad thing, I think its a great thing. The laws of physics don't change just because you went to a state school vs Ivy League.
Now, if you think about other "sciences" however, there is a lot of variance depending on where you go to school.
Social Science?
Political Science?
Even Computer Science varies wildly from school to school.
Some universities try to create a mystique that you will be taught something or by someone or meet someone that will change your life when pursuing these other "sciences". This may be true in some circumstances but the odds of success are probably much higher for the broader population if you can focus on indelible content (ie real science) that describes how the world works.
And you can learn THAT, on a level playing field with everyone, anywhere.
All of KCD's epic react workshops are ๐ฅ, but especially "Advanced React Patterns"! I immediately started implementing some of these patterns for my day job
There are two ways to get free tickets to #RemixConf this year:
1. Retweet this and win
2. Get your company to sponsor!
Email [email protected] if you'd like more information on option 2 ๐
This is a surprisingly good read on the topic ๐. I slightly disagree with the conclusion - I think staleTime being bigger than cacheTime can be fine b/c staleTime and cacheTime rarely start to tick at the same time.
Just finished @kentcdodds Advanced React Hooks course! ๐งฐ ๐ฅณ ๐๐
(as a side-note I used to not appreciate certificates for things, but I learned so much in this course - and it *does* take significant effort - and it's so worth it! ...So now I'm showing off my cert hehe).
Wow I never knew npx was sugar for running a locally installed package (and now I can avoid typing out the path to node_modules).
Think of how many key strokes I could have saved ๐ https://t.co/XwDxC4cvqV
@dan_abramov The news docs are **phenomenal**. You guys are truly setting a new standard for documentation. I can't tell you how big of a difference they have made for me. Also makes me like React even more!