You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The readme and a handful of issues describe using import { useContext } from 'vite-ssr' to access the context, but doing that seems to throw SyntaxError: import not found: useContext. Is there a replacement that exists for this?
It looks like entry-server.js mentions // This can be injected with useSSRContext() in setup functions, but I don't think that that is exactly a replacement for this AFAICT.
The text was updated successfully, but these errors were encountered:
The readme and a handful of issues describe using
import { useContext } from 'vite-ssr'
to access the context, but doing that seems to throwSyntaxError: import not found: useContext
. Is there a replacement that exists for this?It looks like entry-server.js mentions
// This can be injected with useSSRContext() in setup functions
, but I don't think that that is exactly a replacement for this AFAICT.The text was updated successfully, but these errors were encountered: