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

refactor: Regex to sets

Open rschristian opened this issue 1 year ago • 1 comments

Might be marginally faster? Probably easier to maintain at the very least -- easier to tell what properties are being replaced and which aren't.

I did this by comparing against Preact's types, mostly, with a few corrections needed for the SVG types.

rschristian avatar Sep 22 '24 03:09 rschristian

⚠️ No Changeset found

Latest commit: c12a3b500bcccf20a5cd70f0d86dac4a161a0699

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

changeset-bot[bot] avatar Sep 22 '24 03:09 changeset-bot[bot]