|
|
|
|
|
by eyelidlessness
2201 days ago
|
|
This also works in TypeScript's favor. You get test coverage which you would never write. A "simple" component that doesn't have any logic and doesn't warrant a test still checks its prop types, and you don't have to do anything other than make the compiler pass. |
|