Join our community

Get access to the complete guide to developing and deploying fast, production-ready Nuxt apps.

Manage Nested Data with Normalized State

In this lesson, you'll learn how to efficiently manage nested data structures, such as messages within chats inside projects, by implementing normalized state in your Nuxt application. You'll update your types to include optional project IDs and timestamps, create new types for projects, and adjust your mock data accordingly.

Normalized State Management: https://pinia-orm.codedredd.de/guide/getting-started/what-is-pinia-orm

TypeScript Utility Types: https://www.typescriptlang.org/docs/handbook/utility-types.html