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
However, when a new fragment is sent via SSE, the custom plugin is correctly recognized and applied.
import { apply, load } from 'datastar' // HTML is being processed immediately and fails if it references an action from the custom plugin
load(
MyCustomPlugin
// Plugin is loaded here, but it's too late for initial processing
)
apply()