Issues with Global Contexts functionality in Next.js

Just sanity checking, does Global Contexts work in Next.js?

I couldn’t find the GlobalActionsProvider in @plasmicapp/loader-nextjs. When I tried registering global contexts using @plasmicapp/host directly, I was warned of mismatched host versions, and then the interactions weren’t running. (I was trying to register an on click handler to a button)

Hey @ray! When using loader, it is automatically applied for you in your pages. You can register it with PLASMIC.registerGlobalContext()

Don’t I need to register the actions with GlobalActionsProvider in the actual component?

Thanks for the report @ray. We just noticed we haven’t exposed the GlobalActionsProvider in our loader packages. We’ll be working on fixing it.

Hey Ray, the latest versions should have this exported correctly now