You could indeed use either a mutable field or a @set binding to create a setter function, just use whatever feels the more natural!
↧
Using Rescript with Preact?
↧
You could indeed use either a mutable field or a @set binding to create a setter function, just use whatever feels the more natural!