3 ms·
A great counter point to the thinking in this article is this snippet by Dan Abramov: https://overreacted.io/what-are-the-react-team-principles/#absorb-the-comp
by thdxr 4y ago
A great counter point to the thinking in this article is this snippet by Dan Abramov: https://overreacted.io/what-are-the-react-team-principles/#absorb-the-complexity https://overreacted.io/what-are-the-react-team-principles/#a...
Yes we need better tools as library authors but absorbing this complexity is our job. The more we take advantage of what Typescript can do the fewer types the end users deal with and the better experience they have.
Making your library's internals simple should be a non-goal. The number of people dealing with it will be a fraction of the people dealing with codebases using your library.