We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8963187 commit ec1fba8Copy full SHA for ec1fba8
lib/runtime/utils/index.js
@@ -50,6 +50,7 @@ export const getRoutifyFragmentContext = () => {
50
return getContext(CTX)
51
} catch (e) {
52
if (e.message.includes('lifecycle_outside_component')) {
53
+ if (globalThis._routify_suppress_life_cycle_warning) return
54
console.error(
55
'Routify: Unable to access context.\n' +
56
"If you're using Svelte 5, ensure $ helpers are accessed at the root level of your component.",
0 commit comments