Syntax-sugar for binding state to window or client size?
Is there a syntax-sugar for easily binding state to window size or something?
Similar to svelte:
2 Replies
no the transform is very minimal. there are
directives
with which you could make this yourself, but nobody likes using them because typescript support is a bit shitty, so they never really hit off.I see. I guess making a hook for it isn't too bad.