qlik-demo-team / qdt-components

React Components to be used with Angular 10, React 16 and Vue 2. Connects with the Capability API and Engine API.
MIT License
92 stars 50 forks source link

Can we run react component with react-native? #4

Closed MotovilovSA closed 6 years ago

MotovilovSA commented 6 years ago

Trying to run react component with react native framework, but ran into error: "can't find variable document qdt-components.js:27:384242"

fkabinoff commented 6 years ago

qdt-components uses ReactDom.render method, which will not work with React Native. Also, all components are built with html. You may be able to fork and use something like https://github.com/archriss/react-native-render-html and build your own render function, but haven't tried it myself.