- Talk
- 2024
Smart Nano Stores, or how to make state management in Angular simpler
Speaker:
Nina Torgunakova
Frontend Engineer at Evil Martians
Topics:
Abstract
It’s hard to name popular state management libraries for Angular that are totally ideal. They are often cumbersome, which makes the bundle heavier, many of them require a boilerplate and overload components with complex logic. Moreover, sometimes we have to choose a state manager, sacrificing performance, maintainability, or readability.
But what if the state management process could get rid of these flaws and become much simpler? In this talk, I want to show how this can be made possible with Nano Stores – a teeny (from 334 bytes) state manager based on the idea of smart atomic stores. It has zero dependencies, its own ecosystem, and is supported in all popular frameworks including Angular.
With illustrative examples, I want to demonstrate that state management using tiny atomic tree-shakable stores can be much more minimalistic, faster, and more convenient than we are used to seeing it.