Vuex - Pinia evolution. How runtime checks are moving to static analysis

Опубликовано: 20 Май 2026
на канале: Дмитрий Лаврик
2,665
136

We consider the evolution of checks using the example of how vuex strict mode was thrown out of pinia and is now implemented at the level of static code analysis ( as const ) in pinia + ts.

In the last example, state only had simple refs. Of course, if there are nested objects, then as const will only work on the first level and deepReadolny will need to be slightly tweaked.

Structured content on the site - https://dmitrylavrik.ru/video/typescr...