DEV Community

loading...

Discussion on: TypeScript is slow. What can we do about it?

Collapse
prinzsabishi profile image
Michał Pędzik

Probably, you are right with this. I am beginner so I don't know which is good and which is bad in the topic of performance. I am just curious! That's it :)

Thread Thread
joelbonetr profile image
JoelBonetR

Haha no problem, there are many languages and tools around, it's a community issue to use the fancy tool instead of the correct one for the job.
When you're about to release let's say a landing page you must not use any JavaScript Framework such react, angular, preact, svelte... with or without TS which is only a JS superset. Nor will you use a java or C# environment because it's a waste of resources, you need to choose plain HTML, CSS (sass or scss on dev time) and the minimum JavaScript possible due to performance and specific use case / target (which on a Landing page it's SEO and speed).
By the other hand you can use angular, preact, react, svelte... On a private web app to provide a service to your customers (having or not a node back end, this is not important here) due to user experience and easy to develop and scalability for example. There are many use cases and few better options to reach the desired target easier or on a better way regarding to the future 😁

Thread Thread
sharpninja profile image
The Sharp Ninja

due to user experience and easy to develop and scalability for example.

You got one of three right. User experience suffers with web technologies compared to native apps which are much faster, safer and more reliable. JavaScript is one of the least scalable platforms ever created and Node gets crushed under lots of users as it has to start a new process for every simultaneous request. But it is easy to develop for web (as long as you have a consistent set of requirements and platforms to work on and stuff...).

There are many use cases and few better options to reach the desired target easier or on a better way regarding to the future

Utter nonsense.