3 ms·
Node.js: you can share code between client and server side. Typescript: you don't need to remember the arguments of a function or return types. Easy to refacto
by ttty 6y ago
Node.js: you can share code between client and server side.
Typescript: you don't need to remember the arguments of a function or return types. Easy to refactor. Just no brainier. I also use it for all my config like webpack config with ts-node or ts-node-dev for auto reload.
Auto format all your code with 1 command. Prettier or lint fix. But that's basic.
Don't ever write global css. Use emotionjs or styled components. Scoped css it's a delight.
If you notice all my tips helps you to reuse the code you write. Therefore write less code, more efficient.
Plan all your stories ahead. Then do one at the time. Then mark it done. Prioritize.
- yakshaving_jgt 6y ago> If you notice all my tips helps you to reuse the code you write. > Don't ever write global css. Global CSS is a form of code reuse.