Closed mgenov closed 6 years ago
Currently project structure is designed for Web Components but it will be use-full and for supporting of native components for react-native.
This could be accomplished using module separation between web & native:
packages/ web-ui-components package.json native-ui-components package.json package.json <- root project
Another technique is by wrapping web & native components into Platform Agnostic components which to be re-used between platforms.
More information about this technique could be taken from: https://github.com/necolas/react-native-web
Currently project structure is designed for Web Components but it will be use-full and for supporting of native components for react-native.
This could be accomplished using module separation between web & native:
Another technique is by wrapping web & native components into Platform Agnostic components which to be re-used between platforms.
More information about this technique could be taken from: https://github.com/necolas/react-native-web