Describe the bug
This currently does not work with new React Native projects (non expo) due to RN targeting a specific React Version (currently 16.9.0), so due to the react peer dependency it will install react@^16.8.4 and therefore cause the error shown below.
I can confirm there are no issues if we remove react as a peer dependency, which will ensure when using with React native that two versions of react will not be installed. But unsure if this is a satisfactory resolution.
To Reproduce
Steps to reproduce the behavior:
init new react native project (without expo)
install react restful
try and use any hook
Expected behavior
Should support the React Native Projects
Describe the bug This currently does not work with new React Native projects (non expo) due to RN targeting a specific React Version (currently 16.9.0), so due to the react peer dependency it will install react@^16.8.4 and therefore cause the error shown below.
I can confirm there are no issues if we remove react as a peer dependency, which will ensure when using with React native that two versions of react will not be installed. But unsure if this is a satisfactory resolution.
To Reproduce Steps to reproduce the behavior:
Expected behavior Should support the React Native Projects
Screenshots