I got into an error with Akita state management implementation on the Angular project. I will just provide a short answer in order for some people like me could resolve this issue.
There is no clear understanding of this in Akita docs and examples.
export interface ItemState extends EntityState<Item> {}
@StoreConfig({ name: 'items' })
export class ItemsStore extends EntityStore<ItemState> {
constructor() {
super();
}
}
I receive error: StaticInjectorError(Platform: core)[ItemsService -> ItemsStore]: NullInjectorError: No provider for ItemsStore!
It should work