KaBanks
kabanks.bsky.social
KaBanks
@kabanks.bsky.social
vibes
What a time to be alive
December 6, 2024 at 2:34 AM
Idk how I feel about this. ES Modules are the future, retrofitting CJS to work with ESM will just slow down the (already slow) shift to ESM since CJS now “just works” with ESM (with some caveats)

(I could be missing the point or misunderstanding, these were just my initial thoughts)
December 4, 2024 at 2:37 PM
knip is cool, but last time I tried it, it didn’t support react native
November 30, 2024 at 11:29 PM
A good example would be github.com/t3-oss/t3-env
But I did run into some issues getting that to work with expo, that's why I had to make my own basic env helper
GitHub - t3-oss/t3-env
Contribute to t3-oss/t3-env development by creating an account on GitHub.
github.com
November 23, 2024 at 9:36 PM
I threw this together in a couple of minutes, but this is along the lines of what I got in mind.
gist.github.com/KaBankz/fc90...
expo_env_helper_proposal.md
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
November 23, 2024 at 9:32 PM
For 9, is there any technical reason that expo router doesn't have a concept of "private folders" like Next.js's app router? It would be cool to colocate some components next to the related screens in a "_components" folder.
November 23, 2024 at 12:13 AM
Finally, env’s in expo have been a huge pain for me, and this simplifies it a ton.

Any plans on making a typesafe env helper util? Currently I use zod to validate my envs and export a env object, but a first party expo solution would be cool.
November 22, 2024 at 11:41 PM
Ik it’s pretty new, but how does it compare with Skia List that was announced not too long ago?
November 20, 2024 at 7:46 PM
That’s pretty cool, I’ve used bootsolash before for animated splashes, but this seems a lot easier
November 14, 2024 at 2:40 PM
Squash merge all the way
November 13, 2024 at 3:26 AM
Skia List is looking promising
November 9, 2024 at 12:43 AM