Alessandro
banner
variabilealeatoria.bsky.social
Alessandro
@variabilealeatoria.bsky.social
I just rant about React
why would you put auth token in redux tho
December 16, 2025 at 11:06 AM
yes, pretty much all persistency apis on react native are async.
But it's not like a server where data could be modified by external actors 🤔. So I guess there is no need for refetching (stale Infinity), but it's convenient to use modification for persistency. Something similar to this
December 9, 2025 at 4:38 PM
I'm not sure on how I feel about this 🤔
April 4, 2025 at 8:29 AM
well that escalated quickly! 😂
March 26, 2025 at 7:02 AM
is expo trying to kill single page applications?
March 16, 2025 at 9:13 PM
myFunction3 has a ternary operator too tho 🤔
March 5, 2025 at 4:31 PM
I'm struggling with typescript trying to ensure that arguments to the queryFn are not undefined.
Does anyone know why does this make a difference in typescript? 🤔

@tkdodo.eu
March 5, 2025 at 2:25 PM
Hey @react.dev what if I just want to read docs in English? Why is the translation top right icon not a language picker?
March 4, 2025 at 8:37 AM
here it feels unnecessary to have appealText as parameter since it's already visible as reason state variable 🤔
February 21, 2025 at 2:19 PM
When should I pass arguments to mutationFn versus passing them to the wrapping hook in a React Query mutation?

In the example below, convoId is passed to useMuteConvo, while mute is passed to mutationFn. What's the best practice for deciding which arguments go where?

@tkdodo.eu
February 21, 2025 at 1:35 PM
having to implement a flow like this one, is the second screen actually a new navigation screen? If so, is the last one the same screen of the first picture? The result of the input search should be stored in a store (e g. redux) or passed back to the first screen as a navigation parameter?
May 1, 2024 at 7:00 AM