-
I am starting a simple Polaris React app with TypeScript and all of a sudden, I can no longer wrap the application by using the AppProvider. I have tried copying the examples found in the documentation, to no avail. This is the error I am getting:
When I do it the way I used to do by importing it like a component (
What am I doing wrong? What method should I be using? Which version is the right one? I am on Polaris version 9.6.0, React 18 (I've tried going back to 17 without results) and TypeScript 4.6.4. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I hadn't updated my types to React 17. Now it is working properly. |
Beta Was this translation helpful? Give feedback.
I hadn't updated my types to React 17. Now it is working properly.