@d4n1b/react-universilous-components

react universilous components

Usage no npm install needed!

<script type="module">
  import d4n1bReactUniversilousComponents from 'https://cdn.skypack.dev/@d4n1b/react-universilous-components';
</script>

README

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.