Il #DevFestPescara è stato pazzesco! 2 giorni di conferenze, 1 giorno di workshop, 4 track, più di 800 partecipanti e più di 3.500 arrosticini mangiati; tutto accompagnato dal tema della conferenza che univa il tutto: Ritorno al Futuro!
@codewithantonio Actually it looks to me messier
If you have an hook strictly bound to a component why separate?
With this solution all folders type are hierarchically in the same level.
Maybe it could be more helpful using a correct filename instead of separating by types
WELL SAID.
DRY is a mistake most of the time and developers often fall in this trap to “write less”.
Generalizing has hidden costs: especially cognitive, that’s why we should keep KISS most of the time and let the redundancy naturally pop up.
And yes pls, be redundant in tests
@kettanaito Hi again! I'm not sure I get correct: to get a response different from 200, I must add to search params response=<status>.
This is fine if you have to mock a fetch directly, but what about if you don't have this control?
To add some context: I am using openapi-fetch
@marcel_m_a @jacobmparis Yeah, in that case you have to do some manual work rather than just pass the urlSearchParams I guess 🤔
@jacobmparis did you ever encounter this case?
Great news for those extending base TypeScript configs
Soon we should be able to use relative paths to the "final" config file
${configDir} placeholder
Previously it was confusing, and you had to duplicate many fields in the child configs to use relative paths
I've made several attempts at trying to understand how to get `useFormState()`/`useActionState()` to work well isomorphically (which is the whole point, right!?).
I made a repo to showcase the issues I have & added some API suggestions for React.
Convince me I'm wrong. 🙏
👇
I'm wondering if there is a smart way on @remix_run to get the i18n for this case:
Let's say I have a route /blog/$slug which corresponds to a default locale (for instance: italian) and the others should correspond to <language>/blog/$slug.
Any help? Advices?