preact-render-to-string
preact-render-to-string copied to clipboard
Remove text VNode casting
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 detected
Latest commit: 00986eb6c32b52b7f0c3f2d43055084b4be704f9
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
This can be merged now that preactjs/preact#3801 has been merged. Need to update the preact version for tests to pass though.