alex_chennn's profile picture. Full-stack developer, rookie tech blogger

Alex Chen

@alex_chennn

Full-stack developer, rookie tech blogger

Alex Chen reposted

Tanstack query is awesome for fetching and caching data. But, it's broader than that. It's an *async state* library. Example: Here's a custom React Query hook for checking if a device's camera or audio input is available.

housecor's tweet image. Tanstack query is awesome for fetching and caching data.

But, it's broader than that. It's an *async state* library.

Example: Here's a custom React Query hook for checking if a device's camera or audio input is available.

Alex Chen reposted

Colocating by feature was a recent change i introduced and will continue doing from now on in all of my courses. Not only does it make more sense, it also introduces a consistent structure throughout the project. But it is more than just having structure for the sake of it,…

YTCodeAntonio's tweet image. Colocating by feature was a recent change i introduced and will continue doing from now on in all of my courses.

Not only does it make more sense, it also introduces a consistent structure throughout the project.

But it is more than just having structure for the sake of it,…

components / hooks / types / utils (and constants) is the split I'm seeing in many codebases, yet it's the one I dislike the most. It groups by type, not by domain. "useTheme" will live next to "useTodo", but not next to ThemeProvider ... why?

TkDodo's tweet image. components / hooks / types / utils (and constants) is the split I'm seeing in many codebases, yet it's the one I dislike the most. It groups by type, not by domain. "useTheme" will live next to "useTodo", but not next to ThemeProvider ... why?


Alex Chen reposted

Two Related Problems: 1. useEffect is overused. 2. It's often hard to tell a useEffect is needless, because “useEffect” merely tells me *when* some code should run. Solution: Name the function passed to useEffect. ✅Aids review ✅Clarifies intent ✅Helps us catch needless use

housecor's tweet image. Two Related Problems: 
1. useEffect is overused.
2. It's often hard to tell a useEffect is needless, because “useEffect” merely tells me *when* some code should run.

Solution: Name the function passed to useEffect.

✅Aids review
✅Clarifies intent
✅Helps us catch needless use

Alex Chen reposted
elonmusk's tweet image.

Alex Chen reposted

React Native 0.64 is now available! Lots of exciting improvements, the largest of which is the support @callstackio added for Hermes on iOS! reactnative.dev/blog/2021/03/1…


Alex Chen reposted

It's finally here! The new Office app is now available for Android and iOS. Did you know that Office is powered in part by #ReactNative? Learn more: msft.it/6011TwfkN


Alex Chen reposted

The #ReactNative family at Microsoft is growing! Last year we announced RN for #Windows; we're also adding support for #macOS as well! Learn more about building #RN4Desktop at #MSBuild 2020! aka.ms/reactnative


Alex Chen reposted

We just released version 0.62 with Flipper support by default! Thank you to all of the contributors that made this release possible. Please be mindful of the reduced capacity of contributors due to COVID-19 and prepare to delay upgrading if necessary. reactnative.dev/blog/2020/03/2…


United States Trends

Loading...

Something went wrong.


Something went wrong.