Easy flow, easy reach - what can we do with pipes?[NestJS public learning #3]NestJs Pipes Pipes are tricky things here, in my view. These things work with route handler arguments but a pipe is called before the controller. It does two things, transformation and validation. After this operation, the pipe gives the (optionally)...Nov 13, 2023 · 2 min readwebdevstoic.hashnode.dev
Getting stuck between things more then annoying - should we use middleware? [NestJS public learning #2]Middleware In this case, middleware is a function that sits between request and request handler and it can reach request and response objects as well. The NestJs middleware is pretty similar to ExpressJs middleware. The main purpose of this function ...Nov 9, 2023 · 2 min readwebdevstoic.hashnode.dev
It doesn't hurt too much - can providers solve dependency injection? [NestJS public learning #1]NestJS Provider It is a fundamental concept of NestJS and providers provide staff - what a surprise. A lot of things can be provideable, here are some examples: service, helpers, factories etc. So, we have a hero class and we need let's say a weapon ...Nov 7, 2023 · 1 min readwebdevstoic.hashnode.dev
Render but where and when?I've learned about NextJS rendering, therefore, this is my next public learning log, as well as this, is a crucial part of the framework. Just let's make it clear - this writing is not a tutorial just my log hence I don't deep dive into this topic......Jun 2, 2023 · 2 min readwebdevstoic.hashnode.dev
Learning NextJSI plan to become a full-stack JS developer and I thought NextJS is a great tool for a full-stack JS developer. Additionally, I wanted to start public learning and make my blogging habit frequent. So....here is the result. Before my first impressions ...May 30, 2023 · 2 min readwebdevstoic.hashnode.dev