Hacker News new | ask | show | jobs
by phamilton 2227 days ago
My two cents: Learn to write Typescript, not Javascript.

There are Javascript patterns that just don't type well. There are other ways to write your code that will be easier to fit into the type system. It might be more verbose and less reusable at times, but it ends up being a worthwhile tradeoff.

That's general advise and might not apply to the libraries you mention, but it's worked well for us to explicitly call out the differences.