Is using multiple withMethods()
in a single SignalStore
considered a bad practice?
#4613
Unanswered
MaltePetersen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is using multiple
withMethods()
in a singleSignalStore
considered bad practice? I started doing this to reuse already defined methods in new ones, but it seems to make the code harder to read over time. Is there a better approach? Here is a example, where I first define the method getPremiumCustomers and always call that method after a new PremiumCustomer is saved in the savePremiumCustomers method.Beta Was this translation helpful? Give feedback.
All reactions