3 ms·
Good point! I'm confused by the articles suggestion as it already talks about Flow which has support for string literal types. I.e. undefined | "loading" | "fai
by Zalastax 9y ago
Good point! I'm confused by the articles suggestion as it already talks about Flow which has support for string literal types. I.e. undefined | "loading" | "failed" | ActualData
- coldtea 9y agoJust because it has a union type, it doesn't mean it's optimal to use it.