Found 3 bookmarks
Custom sorting
(1) David K 🎹 on X: "If you have React code that looks like this, please: 1. Delete it 2. Use React Query (@tanstack/react-query) instead It handles the caching, state transitions, and edge-cases that you forgot to handle. Fetching data is not what useEffect is for. https://t.co/dRofNxzinJ" / X
(1) David K 🎹 on X: "If you have React code that looks like this, please: 1. Delete it 2. Use React Query (@tanstack/react-query) instead It handles the caching, state transitions, and edge-cases that you forgot to handle. Fetching data is not what useEffect is for. https://t.co/dRofNxzinJ" / X
1. Delete it 2. Use React Query (@tanstack/react-query) instead It handles the caching, state transitions, and edge-cases that you forgot to handle. Fetching data is not what useEffect is for. — David K 🎹 (@DavidKPiano)
·x.com·
(1) David K 🎹 on X: "If you have React code that looks like this, please: 1. Delete it 2. Use React Query (@tanstack/react-query) instead It handles the caching, state transitions, and edge-cases that you forgot to handle. Fetching data is not what useEffect is for. https://t.co/dRofNxzinJ" / X
Haz on Twitter
Haz on Twitter
“When using URL pagination, it is important to use links instead of buttons. To properly disable a link, you can omit the `href` and specify the `role` and `aria-disabled` attributes. Enabled: <a href="#"> Disabled: <a role="link" aria-disabled="true">”
·twitter.com·
Haz on Twitter