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

Macro API design improvements #145

Open
1 of 2 tasks
XantreDev opened this issue Jun 2, 2024 · 0 comments
Open
1 of 2 tasks

Macro API design improvements #145

XantreDev opened this issue Jun 2, 2024 · 0 comments

Comments

@XantreDev
Copy link
Owner

XantreDev commented Jun 2, 2024

Maybe it will be more beautiful to use

  • - Try to optimize signals in dom attributes and jsx
    Prototype is working but, is not really works with hooks. We need to add ignore directive for this purpose

  • - Implement wrapping of basic dom elements

const a = $state('')
const d = <div class={a} />
const a = $state('')
const d = <Reactive __type="div" class={$(() => a.value} />
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

No branches or pull requests

1 participant