I'm jumping between 2 projects: 1


I'm jumping between 2 projects:
1. React in JavaScript
2. React in TypeScript

The difference:
In JS, I spend more time in the browser resolving runtime bugs.

In TS, I spend nearly all my time in the editor. Once it compiles, I'm typically done. 🙂

#reactjs #typescript
The tradeoff: Sometimes I need to spend a little more time making TypeScript happy.

But I find the additional time investment pays off:
1. With TS, It typically works the first time I run it.
2. With TS, I can more easily understand and refactor my work over time.

View original on X