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

The main thing is unified types.

- I've been done GraphQL server with a build step to share types between languages.

- I've used untyped JS client side code.

Both are prone to bugs, and not much fun.

TS for front and back end: sharing types means you'll have editor type hints, catch type errors at lint (or build), and you might even share validation logic between client and browser.

 help



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

Search: