Skip to content
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

fix non-boolean attributes #138

Merged
merged 4 commits into from
Aug 6, 2021
Merged

fix non-boolean attributes #138

merged 4 commits into from
Aug 6, 2021

Conversation

pveyes
Copy link
Owner

@pveyes pveyes commented Aug 5, 2021

fix #137

Use React DOMProperty for server bundle, and .setAttribute(attr, '') check for client bundle to minimize bundle size increase

Verified

This commit was signed with the committer’s verified signature.
kotokaze Kotokaze
pveyes added 2 commits August 5, 2021 16:36

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@pveyes pveyes changed the title test true string attribute fix non-boolean attributes Aug 5, 2021
@pveyes pveyes marked this pull request as ready for review August 5, 2021 14:30
@pveyes
Copy link
Owner Author

pveyes commented Aug 5, 2021

bundle size increases from 1.28kB to 1.42kB

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@pveyes
Copy link
Owner Author

pveyes commented Aug 6, 2021

bundle size increases from 1.28kB to 1.35 kB

@pveyes pveyes merged commit 94036ba into master Aug 6, 2021
@pveyes pveyes deleted the true-string-alt branch August 6, 2021 05:34
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.

Problems with empty attributes
1 participant