@nuxt/docs-nightly 4.3.0-29434218.e4cb5de2 → 4.3.0-29434358.7789f73b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -535,6 +535,10 @@ This means:
|
|
|
535
535
|
* You can't access the 'island context' from the rest of your app and you can't access the context of the rest of your app from the island component. In other words, the server component or island is _isolated_ from the rest of your app.
|
|
536
536
|
* Your plugins will run again when rendering the island, unless they have `env: { islands: false }` set (which you can do in an object-syntax plugin).
|
|
537
537
|
|
|
538
|
+
::important
|
|
539
|
+
Route middleware does not run when rendering island components. Middleware is a routing concept that applies to pages, not components, and is not designed to control component rendering.
|
|
540
|
+
::
|
|
541
|
+
|
|
538
542
|
Within an island component, you can access its island context through `nuxtApp.ssrContext.islandContext`. Note that while island components are still marked as experimental, the format of this context may change.
|
|
539
543
|
|
|
540
544
|
::note
|