Comments (3)
Something odd is going on. I can reproduce the issue, but haven't found the root cause yet.
from fresh.
@marvinhagemeister Doesn't preact need an actual DOM node to render in to? If the outer element of an island is just a Fragment, what gets passed to preact's root render function?
from fresh.
We always pass a fake dom node as the root element that doesn't exist in the actual Dom when reviving islands. It's been on invisible comment markers as the boundary. This is done to support sibling islands in the same container with potentially static nodes in between. It shouldn't matter what the outer element looks like.
from fresh.
Related Issues (20)
- Bug: Tailwindcss not working in js/jsx files HOT 1
- When changing the source directory, import maps needs to be in the source for the runtime to work HOT 2
- Plugin routes don't support RouteConfig
- Fresh Components Carouse lisland is not work HOT 5
- Image tags don't load inside of an island HOT 3
- Add documentation for colocation
- Partial form submission omits submitter from formData
- Tailwindcss takes a long time to compile HOT 6
- context params accessed via ctx.params in the handlers need to be decoded HOT 3
- `useState()` hook stops working when `Deno.readTextFile()` is used HOT 5
- Nested Partials Ignore Append Mode When Parent Partial Uses Replace Mode
- upgrade downgrades preact and preact/signals dependencies
- Code is displayed incorrectly on fresh docs on Windows Edge browser (on recent install) HOT 5
- Dates (and other types) are serializable when using Deno KV but not islands HOT 1
- imported revive function and islands from script into browser is not taking basepath into account HOT 3
- www: syntax highlighted code of the document site is broken when the page is moved HOT 1
- Update esbuild_deno_loader to 0.9.0 for JSR support
- using nunjucks with Fresh HOT 2
- Async Components HOT 4
- Custom headers in defineRoute possible? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fresh.