Skip to content

Commit 418121c

Browse files
committed
docs: not about modules and code splitting
1 parent 07c2c9c commit 418121c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/guide/data/module.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ With the `@rstore/nuxt` module, you can directly use the auto-imported `defineRs
3535
- **Encapsulation**: Modules allow you to encapsulate related state, queries and mutations, making your code more organized and easier to maintain.
3636
- **Reusability**: You can create reusable modules that can be shared across different parts of your application or even across different applications.
3737
- **Shared**: rstore modules are automatically shared across all components that use them, so they are only created once.
38+
- **Code-splitting**: You can lazy-load modules when needed, reducing the initial bundle size of your application.
3839
- **SSR**: Modules are automatically SSR compatible, so you don't have to worry about the state being lost during server-side rendering.
3940
- **Async**: You can use async code (see `onResolve` below) to initialize the module.
4041
- **Hybrid promise**: Awaiting a module is optional, all exposed properties are also available directly.

0 commit comments

Comments
 (0)