I'm following the react-hook-form docs to implement the demo in my react-native project. https://react-hook-form.com/get-started/#:~:text=import-,React,-from%20%22react%22%3B%0Aimport%20%7B%20Text
I realized I must install React, so I did, but when I ran the form component, I got a Render Error "Can't find variable: React". I checked the react-native CLI and saw there was a warning about 'react-native missing peer dependency React@17.0.1'
I downgraded from react 17.0.2 but I still get this error.
So my question is, why must we import React to use libraries like react-hook-form in react-native?
And how do you tell which react version is compatible with react-native?