Skip to content

docs(config): add experimentalScopedSlotChanges extras flag - #1307

Merged
tanner-reits merged 5 commits into
mainfrom
docs/add-scoped-slot-flag
Jan 15, 2024
Merged

tanner-reits merged 5 commits into
mainfrom
docs/add-scoped-slot-flag

Conversation

@tanner-reits

@tanner-reits tanner-reits commented Jan 2, 2024 •

Copy link
Copy Markdown
Contributor

Adds a new experimentalScopedSlotChanges extras config option to toggle the new behavior for scoped components.

Related code changes: stenciljs/core#5220

Note: The first commit only alphabetizes the options, but results in what looks like many more changes

@vercel

vercel Bot commented Jan 2, 2024 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stencil-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2024 4:02pm

Comment thread docs/config/extras.md Outdated
### scopedSlotTextContentFix

An experimental flag that when set to `true`, aligns the behavior of invoking the `textContent` getter/setter on a scoped component to act more like a component that uses the shadow DOM. Specifically, invoking `textContent` on a component will adhere to the return values described in [MDN's article on textContent](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent#description). Defaults to `false`.
<!-- TODO(NOW): confirm fix versions -->

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll make sure these versions are accurate before this merges, just depends how this lines up with upcoming releases

@tanner-reits
tanner-reits marked this pull request as ready for review January 3, 2024 20:00
@tanner-reits
tanner-reits requested a review from a team as a code owner January 3, 2024 20:00
@tanner-reits
tanner-reits requested review from christian-bromann and rwaskiewicz and removed request for a team January 3, 2024 20:00

@rwaskiewicz rwaskiewicz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM - I'll give it another pass once I get to/through the impl PRs

@christian-bromann christian-bromann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rwaskiewicz rwaskiewicz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approved the impl PR, I'm good with approving now and just landing it after you've bumped the version in the docs

@tanner-reits
tanner-reits merged commit 17a8e75 into main Jan 15, 2024
@tanner-reits
tanner-reits deleted the docs/add-scoped-slot-flag branch January 15, 2024 16:05

This branch was successfully deployed

1 active deployment
Preview — 1b44d7d2 Deployed Jan 15, 2024 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants