I'm using Rene Rubacalva example in jsapi-esm-react/AppContext.js at main · odoe/jsapi-esm-react · GitHub
I'm getting the following error:
Warning: Cannot update a component (`AppContextProvider`) while rendering a different component (`App`). To locate the bad setState() call inside `App`, follow the stack trace as described in
That sample is incredibly outdated at this point, and the material lib used is now deprecated.
This demo app use nextjs and redux
This demo app uses nextjs, trpc, tailwind
And we have a more basic React application too
These samples are much more representative of modern react apps