1

I tried to implement react-native with workspaces to share the business logic across mobile and web application, it works well on the web, but it doesn't work or even load files on react-native. I ended up using wml but it cannot load a file from the shared package that's importing packages like axios or so.., although these packages are already installed there, and it works as expected on web.

Ahmed Fouad
  • 60
  • 1
  • 6

1 Answers1

0

I fixed it by using lerna instead of yarn workSpaces / wml

Ahmed Fouad
  • 60
  • 1
  • 6