You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportconstExampleStore=signalStore(withState<ExampleState>({}),withMethods((store)=>({onTabVisible(): void{console.log('tab is visible')},}),),withTabVisibility(),
The onTabVisible method seems completely decoupled from the withTabVisibility feature.
I would be willing to submit a PR to fix this issue
Yes
No
The text was updated successfully, but these errors were encountered:
Which @ngrx/* package(s) are relevant/related to the feature request?
signals
Information
In order to add more complexe features, it would be great to expose more models to the public API.
Here is an example of what I try to achieve
It is possible but I used many unexposed models:
What would be marvelous would be to:
EmptyFeatureResult
andSignalStoreFeatureResult
SignalStoreFeatureInputStore<Input>
(could be used bywithMethods
andwithHooks
)createFeatureInputStore
(could be used bywithMethods
andwithHooks
as well)I could have written:
Thanks for this awesome lib ❤️
Describe any alternatives/workarounds you're currently using
It is possible to add hooks with:
Then:
The
onTabVisible
method seems completely decoupled from thewithTabVisibility
feature.I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: