nstudio / xplat

Cross-platform (xplat) tools for Nx workspaces.
MIT License
367 stars 52 forks source link

React Xplat Support #154

Open navneetsharmaui opened 5 years ago

navneetsharmaui commented 5 years ago

It would nice to have the Xplat Support for the react applications. As angular and react are both are now widely adopted for the enterprise-level application. I know the support is there for both in nx workspace. But if the initial configuration could be done with the Xplat (including Common State management for the common modules)

NathanWalker commented 5 years ago

@navneetsharmaui Complete agree. Now that Nx has React support it definitely makes this more easily possible. I'd be curious if you had an OSS repo you wouldn't mind sharing or prepared with a bare bones minimal set of structure which would be beneficial for React apps (or multiple in a monorepo they all could benefit/leverage from). This could be used to break down into generators to allow this.

navneetsharmaui commented 5 years ago

@NathanWalker I have created a repo but it's not specifically for reactjs as I wanted to tinker around with electron, angular, and react in the same workspace. I had been playing around with xplat for a month now. But this is the first time I required to build a react application in it as a complementary project to my full fledged angular-electron application.

wSedlacek commented 3 years ago

I would also like to see React Native supported as Nx has officially made a plugin for that as well. At my team we use React Native/React Native Web almost exclusively and it would be great if we had room to pivot in the future should we need to.