Skip to content

Remove text VNode casting #269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed

Remove text VNode casting #269

wants to merge 4 commits into from

Conversation

developit
Copy link
Member

This removes the text VNode casting from #257, as we're now handling this difference internally in preact/debug (preactjs/preact#3801). I'm only seeing a 1% performance improvement as a result of this change, but that should be a result of having already removed one of the per-text-vnode function calls in #241.

@changeset-bot
Copy link

changeset-bot bot commented Nov 16, 2022

🦋 Changeset detected

Latest commit: 00986eb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-render-to-string Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@developit
Copy link
Member Author

developit commented Dec 3, 2022

This can be merged now that preactjs/preact#3801 has been merged. Need to update the preact version for tests to pass though.

@JoviDeCroock JoviDeCroock force-pushed the remove-string-vnode-cast branch from 63189d0 to e0b739f Compare February 25, 2023 08:22
@JoviDeCroock JoviDeCroock force-pushed the remove-string-vnode-cast branch from ca5db6c to 009d029 Compare February 25, 2023 08:27
@rschristian
Copy link
Member

Looks like this landed as part of #286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants