centau / vide

A reactive Luau library for creating UI.
https://centau.github.io/vide/
MIT License
88 stars 15 forks source link

Add source normalization API #15

Closed littensy closed 1 year ago

littensy commented 1 year ago

Implements read() for converting T | () -> T into T.

[!NOTE] The proposed source(source) behavior is problematic if you want to pass a normal function. I think it's too invasive to implement into source() as-is.

Resolves #6