io-ts
urgent opened this issue · 14 comments
urgent commented
urgent commented
Skipped. Worried about bundle size.
urgent commented
urgent commented
urgent commented
urgent commented
Event emitter and reconciliation/render strategy
If shared props are needed, move to parent component. Create a parent component if needed just for props.
urgent commented
io-ts Runtime decode
Runtime and compile time type checks. Use io-ts please. It's awesome.
https://www.tooploox.com/blog/bridging-static-and-runtime-types-with-io-ts
urgent commented
urgent commented
urgent commented
urgent commented
urgent commented
urgent commented
urgent commented
Throwing exception inside a jest async.
Best to test if function is returned. Difficult to do in jest as jest halts on throw unless wrapped in anonymous functions. async makes it difficult. Better strategy is to return either the effectfull function or error only. Test the effect in a different unit. Only check if function is callable, expect.any(Function)
urgent commented