Closed dy closed 5 years ago
Thanks, and this is trivial too. Do you know if other hooks have the same so I can release a version that lazy initialize them all?
Never mind, I've read through and that's the only lazy value to initialize. Published as 1.1.5
According to the useState docs, it can be initialized with the function.
Augmentor doesn't seem to support that for now.
Sandbox