Are we seeing a new wave of very cool ideas and innovations? ๐ก And not just ideas but actual finished products or libraries that we can try?
Javascript fatigue
Javascript fatigue happens when we can't keep up with the latest tools and libraries. It's the fear of becoming obsolete because of the constant change of the ecosystem. ๐ต
So I'll stop ranting and just share a few resources on those cool technologies (this is not an exhaustive list).
Deno
A few key features of Deno:
โ
Secure sandbox by default
โ
Typescript support out of the box
โ
Modules can be loaded directly from URLs
โ
Aims to be browser compatible
โ
Embrace async / await / promises
Recoil
Recoil is a new experimental state management library that aims to solve the React slow render problems when dealing with big or deep nested component trees.
Blitz.js
โก๏ธRails-like framework for monolithic, full-stack React apps โ built on Next.js.
What we are still lacking in the React ecosystem is a full-stack framework, so you don't always need to:
- set up a React app
- set up a Server app
- set up the interface layer between server and client
- set up authentication and authorization
- set up DBs
Lower the fatigue
What I like about the Web is the ecosystem that is continuously pushing to challenge the old ways of doing things - and continues to evolve.
While there are so many new things to learn, it doesn't mean that we need to jump into them right away, but instead keep an eye on them, and use them at the right moment. ๐
If you like this article, chances are you will also enjoy what I post on Twitter.
Top comments (8)
The good thing is that these are generally building on top of good solutions in different ways and not totally starting from scratch.
I'd hope the JS community is able to accept some new ideas for new projects and places where new things are really needed without trying to migrate everything to the new stuff.
I think that's exactly why some of them get so much traction. Take Deno for instance, I always wanted an out of the box solution to build a server side app with the latest JS/TS features, without setting extra tools for this.
Exactly. These are just new prospective tools for our tool belt. It doesn't mean we have to use them. As always, choose the technology appropriate for your project.
Blitz.js looks and sounds great! My current go-to stack has been NestJS & Prisma for my backend and Next.js for my frontend. It's going to be interesting how sophisticated Blitz.js will get. Will definitely try it out.
Recoil looks super clever. Because it's so specialized, my guess is that you'd mainly grab it once you have the performance problems Dave explains in the video.
Deno... well it's exciting to see some competition to Node. I can see it being used more and more, especially once existing Node frameworks & libraries start implementing on top of Deno.
Blitz.js is also on my to-check list, maybe when it gets out of alpha.
Recoil only for some very hardcore React optimizations. I think React is pretty fast by default for 99% of the apps we are building.
Deno brings a nice fresh air to how we used to build backend JS applications or JS tools. But still in a very early stage, I think we still have to wait a bit, as you said, for the ecosystem & libraries to mature.
Is Blitz = Nest + Next ?
It's based on Next.js, but don't think also on Nest.
What I liked about it is how you export a function for the BE code, then simply use it in the FE. And Blitz is compiling it to an http call under the hood.
Blitz is actually NextJS + Prisma..