Sign in

Satyajit Sahoo

@satya164.page
710 followers 400 following 121 posts

♥️ CSS, JavaScript, TypeScript, React, React Native 💼 Front-end @callstack.com 🔨 Builds @reactnavigation.bsky.social 🌍 Globe Earther 🏳️‍🌈 He/Him

PostsRepliesMedia
Satyajit Sahoo @satya164.page · 24/08/2025
Congrats to me, I guess. Sorry @expo.dev, but the credit is all mine.
0100
Satyajit Sahoo @satya164.page · 19/06/2025
The last time I used Gulp was almost a decade ago. Funny that GitHub shows it as a suggested workflow
020
Satyajit Sahoo @satya164.page · 10/05/2025
these spambots are getting out of hand
050
Satyajit Sahoo @satya164.page · 26/04/2025
React Native 0.79 (Metro 0.82) enables package.json#exports by default. It was added back in 2019 in Node.js 12 for ESM, but the ecosystem is still catching up, and Node.js itself has undergone significant changes regarding how it works with ESM & CommonJS.
140
Satyajit Sahoo @satya164.page · 26/04/2025
One of the coolest features in React Native 0.79 is built-in support for "aliases" based on `package.json#imports`
1. Add the alias in `package.json` under `imports`

   ```json
   {
     "imports": {
       "#lib/*": "./src/lib/*"
     }
   }
   ```

2. Update `tsconfig.json` to enable `resolvePackageJsonImports`:

   ```json
   {
     "compilerOptions": {
       "resolvePackageJsonImports": true
     }
   }
   ```

3. Then you can import from `#lib` in your code:

   ```ts
   import { someFunction } from '#lib/someModule.ts';
   ```
0110
Satyajit Sahoo @satya164.page · 13/12/2024
Many libraries in React Native ecosystem are shipping untranspiled JSX which makes it more difficult since I can't even rename them. Something like this seems to work
040
Satyajit Sahoo @satya164.page · 12/12/2024
Seems these got out of order
130
Satyajit Sahoo @satya164.page · 29/11/2024
It'll definitely make it much easier, but it's already possible. React Navigation lets you override how URLs are parsed and converted back reactnavigation.org/docs/navigat... Here is a possible config
030
Satyajit Sahoo @satya164.page · 29/11/2024
Working on regex support for linking config in React Navigation ✨ Any param name in linking config can be followed by a parenthesis containing a regex. Feedback welcome! Let me know if you want me to test any specific scenario!
1102