[fresh@2.0] Islands under `routes/(_islands)/...` won't be detected as islands
miguelrk opened this issue · 2 comments
miguelrk commented
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.
marvinhagemeister commented
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.
mindon commented
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/core@2.0.0-alpha.23