Package Exports
- @hippy/react-web
- @hippy/react-web/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hippy/react-web) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Hippy React Web
Web adapter for hippy-react.
Introduction
@hippy/react-web
is the web adapter for hippy-react
, it keeps the same interface with hippy-react
To make hippy-react app running in web browser.
The project is still working progress, contributions are welcome.
How to use
Make a alias in webpack config for web building will be ok.
// webpack-production.js
module.exports = {
// ...
// Other configs
resolve: {
alias: {
// Make the the hippy-react-web alias to hippy-react
'@hippy/react': '@hippy/react-web',
},
},
};
Project progress
Working | Not Working |
---|---|
View | RefreshWrapper |
Text | Navigator |
Animation | Modal |
Image | NetInfo |
ListView | |
ScrollView | |
TextInput | |
ViewPager | |
WebView | |
VideoPlayer | |
Slider | |
TabHost |