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

feat(jsx): normalize class attribute #942

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

kasperskei
Copy link
Contributor

Class binding like vue.js.

Copy link

stackblitz bot commented Oct 14, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented Oct 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reatom ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 9:07am

packages/jsx/src/index.ts Outdated Show resolved Hide resolved
null,
undefined,
{},
[],
Copy link
Collaborator

@Akiyamka Akiyamka Oct 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit inconsistent, that we treat {} and [] 
In js world they truly, and in objects of this lib - too.

packages/jsx/src/utils.ts Outdated Show resolved Hide resolved
packages/jsx/src/index.ts Show resolved Hide resolved
packages/jsx/src/utils.ts Outdated Show resolved Hide resolved
packages/jsx/src/utils.test.ts Show resolved Hide resolved
packages/jsx/src/utils.ts Outdated Show resolved Hide resolved
packages/jsx/src/utils.ts Outdated Show resolved Hide resolved
packages/jsx/src/utils.ts Outdated Show resolved Hide resolved
@artalar artalar merged commit 2803165 into artalar:v3 Oct 31, 2024
2 of 3 checks passed
@github-actions github-actions bot mentioned this pull request Oct 31, 2024
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.

3 participants