Ask Your Question
0

Why doesn't NgxsFeatureModule contain a module definition (ɵmod property)?

asked 2021-09-09 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2022-10-16 03:00:00 +0000

woof gravatar image

The NgxsFeatureModule is a simple module that provides some configuration options for the NGXS store. It functions as a "helper module" and is not intended to be imported directly into the application.

This module is used to group together feature state classes and define some general options for them, such as whether or not they should be reset when the application is reloaded or if they should persist across sessions.

Since the NgxsFeatureModule is not meant to be imported directly into the application, it does not require a module definition (ɵmod property). Instead, it is included as part of the overall NGXS store module, which does have a module definition.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-09-09 11:00:00 +0000

Seen: 1 times

Last updated: Oct 16 '22