syt123450 / react-giojs

:tada: A Declarative 3D Globe Data Visualization Library built with Three.js -- React version for Gio.js

Home Page:https://github.com/syt123450/giojs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React peer dependency

mhisham744 opened this issue · comments

I would like to use this library in an app which requires react 16.3 or later.

Would it be possible to make react and react-dom as peer dependencies?

Thanks!

Yes, you can use react and react-dom separately in your react app, I write several demo, in the hello world demo links, I use react and react-dom as peer dependencies. In this js file, import react and react-dom separately.