Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just struggle to get value out of frontend unit tests when using Typescript and React. Your main vulnerability is code receiving data in a shape/type it doesn't expect, and it is going to be very difficult to do that with React and TS. I still write tests for specific functions and complex Regex's but very rarely will for a React component.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: