Make Zustand store scalable
Hello,
This is my
Zustand
store state type:
In the future I will add more invoices (up to 10), and I kind of don't like doing something like:
Are there any common practices to handle such a thing?
Thanks.6 Replies
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
I like Type more, and I have seen it used a lot.
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
I don't mind the long name. Interfaces usually starts with the letter
I
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Thank you very much for the help ❤️