Closed MrEfrem closed 7 years ago
On the server, a context is only available if you are in a request handler (for example, while rendering a page). In other situations (such as in arbitrary server code), there is no particular client context, so it doesn't make sense to have a context available. The error message could certainly be better though.
Thanks, I understood.
in main.jsx