preact-render-to-string icon indicating copy to clipboard operation
preact-render-to-string copied to clipboard

Remove text VNode casting

Open developit opened this issue 2 years ago • 2 comments

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.

developit avatar Nov 16 '22 00:11 developit

🦋 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

changeset-bot[bot] avatar Nov 16 '22 00:11 changeset-bot[bot]

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

developit avatar Dec 03 '22 16:12 developit