Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

Docs: Mention that states need to be registered in forRoot() #458

Open
ceelian opened this issue Mar 11, 2019 · 1 comment
Open

Docs: Mention that states need to be registered in forRoot() #458

ceelian opened this issue Mar 11, 2019 · 1 comment

Comments

@ceelian
Copy link

ceelian commented Mar 11, 2019

If you follow the docs on the website top to bottom like a tutorial, it is not mentioned (therefore some might forget) that the BookState which is used in the example needs to be added to the LoonaModule.forRoot:

imports: [LoonaModule.forRoot([BookState])],

Should possibly be added at some point in the docs.

@rafagsiqueira
Copy link

rafagsiqueira commented Jun 4, 2020

@ceelian Thank you for this! I had to go through the source code to figure that out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants