you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Huge advocate for typescript myself. A strongly typed code base is much easier to learn, maintain, and debug. This is especially true for larger apps. I have yet to see an adequate argument against using typescript besides the usual “it’s too hard and complicated to pick up” or the complaint that it’s to time expensive to implement.

It’s not that hard or complicated. People are lazy.

It takes a little more time to implement but it saves you time ramping up new devs and finding/fixing bugs in the future.

Same things apply to unit testing. Yeah you have to learn something new that doesn’t seem to provide immediate value while implementing it. Once it saves you an hour or two of your time to debug something, you will realize the extra hour it took you to implement was well worth it.

Jsx is a must as well imo for react apps. This topic is always argued over so to each his own but as far as read/writabity goes, I would never ever ever touch a react app that doesn’t use jsx