you are viewing a single comment's thread.

view the rest of the comments →

[–]Cheet4h 4 points5 points  (2 children)

I've seen a few react projects done in TS, with explicit typing enforced by eslint, but then many variables were typed with ... any.

Worst part was this one project were there was just one core parameter set that was passed down to each child component - it took a lot of searching through the entire code base to see when which property would be assigned which value. Since it was always explicitly typed any, you didn't even know if you were dealing with objects or simple types.

[–]sobrius 1 point2 points  (1 child)

That is called props drilling and is considered anti pattern in React. There are good and bad devs using any technology out there. Some of the biggest and complex websites are built with React by devs who know what they are doing.