react-native-onyx icon indicating copy to clipboard operation
react-native-onyx copied to clipboard

Local development is a bit painful after switching to a built JS bundle on dev

Open marcaaron opened this issue 3 years ago • 4 comments
trafficstars

Problem:

On dev we are pointing to dist/web.development.js which is a bit more difficult to test code changes.

My current workaround is:

Run npm run build in /react-native-onyx

Copy web.developent.js to local project/node_modules/react-native-onyx/dist

Potential Solutions:

  • Stop using that build and just use the local files in node_modules directly

OR

  • Use webpack to watch changes and build the dist + link local node_modules to local react-native-onyx

I would prefer the former as having the minified builds in sources makes debugging things harder for no clear benefit.

marcaaron avatar Sep 21 '22 18:09 marcaaron

Hi, is the development still active? One more thing is this repo earlier under @lucasbento account, just curious.

87prashant avatar Dec 17 '22 10:12 87prashant

Could you please rephrase that question? I'm not sure what you're asking, thanks!

marcaaron avatar Dec 19 '22 17:12 marcaaron

I was asking is this react-native-onyx project is built by Expensify from zero or earlier it was under some other account on github? Actually, I was asking about this project from chatGPT and it gave this info that it is created by someone else(probably wrong😝). Btw thanks for replying

87prashant avatar Dec 20 '22 01:12 87prashant

hah well the AI is wrong. This is entirely built by the team at Expensify from the ground up and with help from open source contributors. Thanks!

marcaaron avatar Dec 20 '22 18:12 marcaaron