Replies: 1 comment
-
|
Yes, Preact is a hard requirement because all the island code is built around Preact's ability to hook into the rendering engine. There are no plans to support other frameworks in Fresh. Astro is in a unique spot because they have a custom file format which makes it a lot easier to support other frameworks. If Fresh would invent its own file format I guess we could move the island detection to compile time and go down a similar route. Solid signals are very similar to preact signals apart from some cosmetic api differences. In theory the could be leveraged too, although the serialization code in Fresh would need to be adapted to account for that. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Want to know if Preact is a hard requirement with this framework and if there's plans to decouple Preact and make it possible to work with Islands architecture in a similar way Astro allows you to use different component libraries. React has so many component libraries and registries that it would be easier to reuse them than to rely on Preact.
Also, would SolidJS signals work the same way with Fresh as it does with Preact?
Beta Was this translation helpful? Give feedback.
All reactions