Advertisements

Choosing Between Angular, React, Vue and Svelte – 4 Tips!

Choosing between modern web frameworks can be hard, especially if you’re not familiar with all of them. But don’t worry, I don’t either and you won’t have to as well. However, here are 4 tips on choosing the right tool for your next project. 1 Choosing based on Project Requirements Look at the requirements of […]

Prettier Autoformat for TypeScript not Working

For me Prettier has been doing an awesome job when auto-formatting JavaScript code on save. However, when using TypeScript files (.tsx) it didn’t work. Here is how to fix it: First, press shift + cmd + p (Mac), enter “settings” and choose “Preferences: Open Settings (JSON)”. Then add the following: “[typescript]”: { “editor.defaultFormatter”: “esbenp.prettier-vscode” }, […]