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

Add Resource variants of attr+prop Signal-based modifiers #158

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

armanbilge
Copy link
Owner

@armanbilge armanbilge commented Jan 23, 2023

Spinning out of #157 (comment). This adds syntax support for e.g.:

div(
  cls <-- fs2.dom.events(dom.window, "resize").map(_ => List("resizeCls")) // Stream[F, ...]
            .holdResource(List("initCls")) // Resource[F, Signal[F, ...]]
)

@armanbilge armanbilge changed the title Add Resource variants of attr+prop modifiers Add Resource variants of attr+prop Signal-based modifiers Jan 23, 2023
@armanbilge armanbilge merged commit 47e25a8 into main Jan 24, 2023
@armanbilge armanbilge deleted the pr/resource-modifiers branch January 24, 2023 18:53
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.

2 participants