Open khushal87 opened 2 years ago
This probably relates to the version of @react/types
you are using. Seems we are using currently 17.0.39
I have everything as "latest" in the new plugin I have created. So do you recommend downgrading the react package to <18? @mweststrate
yes, React 18 typings are very incompatible with the 17 typings, sadly. Put differently, if you ignore the compile error (e.g. @ts-ignore
, it should work fine.
🐛 Bug Report
I am using the DataInspector component as per this guide here - https://fbflipper.com/docs/tutorial/js-custom/ in
renderSidebar
but I am getting an error as:To Reproduce
Use the DataInspector component to build your flipper plugin and you will be able to reproduce it.
Environment