Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1813

Using a scoped polymorphic type for react-router bindings to loader function

$
0
0

The target data seems dependent on the Settings component and not a generalized type.

And these original types are actually polymorphic at the implementation level. Making the polymorphism explicit or restricting it to be monomorphic in compile time wins in e2e quality, safety, and performance.


Viewing all articles
Browse latest Browse all 1813

Trending Articles