What is the feature you are proposing?
Current HasIsland component only detects islands in a route file.
If in a non-route component could detect using island, it could be something similar to "use client" in React.
We often want to use components with interactions at the end of the tree. It's not something we can immediately judge based on the route.
What is the feature you are proposing?
Current
HasIslandcomponent only detects islands in a route file.If in a non-route component could detect using island, it could be something similar to "use client" in React.
We often want to use components with interactions at the end of the tree. It's not something we can immediately judge based on the route.