🏝️ All islands must be rendered on the server for maximum safety and consistency 🤗 - #8991
Merged
Merged
Conversation
|
Size Change: -152 B (0%) Total Size: 724 kB
ℹ️ View Unchanged
|
mxdvl
force-pushed
the
mxdvl/islands-always-server-safe
branch
from
October 3, 2023 14:53
e3372ce to
4ac3382
Compare
mxdvl
force-pushed
the
mxdvl/islands-always-server-safe
branch
4 times, most recently
from
October 6, 2023 16:23
1c7f355 to
6670051
Compare
mxdvl
force-pushed
the
mxdvl/islands-always-server-safe
branch
from
October 17, 2023 10:03
b29c720 to
2223d74
Compare
This was referenced Oct 17, 2023
This was referenced Oct 25, 2023
This was referenced Nov 2, 2023
This was referenced Nov 16, 2023
|
"This PR is stale because it has been open 30 days with no activity. Unless a comment is added or the “stale” label removed, this will be closed in 3 days" |
This was referenced Nov 24, 2023
mxdvl
force-pushed
the
mxdvl/islands-always-server-safe
branch
2 times, most recently
from
November 27, 2023 09:51
40b15b4 to
ba54c01
Compare
This was referenced Nov 27, 2023
all islands must be rendered on the server for maximum safety and consistency
mxdvl
force-pushed
the
mxdvl/islands-always-server-safe
branch
from
November 30, 2023 17:39
ba54c01 to
15919b2
Compare
mxdvl
marked this pull request as ready for review
November 30, 2023 17:40
sunnyclimber456
approved these changes
Nov 30, 2023
This was referenced Dec 18, 2023
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
Remove the ability for Islands to be client-side only and the associated attribute
clientOnly.We now have a series of tests that demonstrate that Islands will not throw in a server context.
Why?
Redo of #8948
Having to consider whether islands should be rendered or hydrated is an unnecessary complexity that is better handled by hooks. This also encourages developers and designers to think about what should be rendered on the server in order to produce the least amount of suprise to users.
Screenshots
N/A