fresh
fresh copied to clipboard
[[email protected]] Islands under `routes/(_islands)/...` won't be detected as islands
From this thread:
when placing islands under e.g. routes/(_islands)/MyIsland.tsx, MyIsland won't be picked up as an island like it did in 1.x. Placing it under islands/MyIsland.tsx does work.
I tried a few scenarios but I'm not able to reproduce that. Islands from routes/(_islands)/MyIsland.tsx are successfully loaded on my end.
it seems islands with same names are messy, something like
_routes/a/(islands)/Hello.tsx _routes/b/(islands)/Hello.tsx
/b got the Hello island from /a
jsr:@fresh/[email protected]