Skip to content

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

Merged
armanbilge merged 1 commit intomainfrom
pr/resource-modifiers
Jan 24, 2023
Merged

Add Resource variants of attr+prop Signal-based modifiers#158
armanbilge merged 1 commit intomainfrom
pr/resource-modifiers

Conversation

@armanbilge
Copy link
Copy Markdown
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