0.0.2-beta.0 • Published 5 years ago

@d4n1b/react-universilous-components v0.0.2-beta.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

React universilous components

Truly universal React Components.

You can see a web demo here.

Technologies & implementation

WIP - too many crazy stuff to be written down & explained

For now just play around with the code.

Dev

Install packages: npm i

After dependencies are installed, you can develop in 2 environments: web & mobile. All environments use Storybook.

Web Run npm run start:web and Storybook would scan and inject all components within ./src/components folder which match with this name convention: /\.story\.js$/.

Mobile Run npm run start:ios for IOS or npm run start:android for Android. Storybook would NOT scan and inject all components within ./src/components folder, as React Native doesn't support dynamic requires - as far as I know.

Make sure simulator is running. Sometimes simulator and Storybook need to be manually synced, refreshing the Storybook browser page and simulator would be enough.