What is the role of a Piece and a Store in SapphireJS?
From my research, it seems that a Piece cannot perform standalone actions. Instead, Pieces are stored in a Store, and developers retrieve them from the container's store to utilize them in other functionalities. Is this correct?
I am looking for examples or related articles that explain the usage of Store and Piece, but the official documentation seems to lack such detailed explanations, so I am asking here.
3 Replies
Solution
that is correct
To put it in an analogy, think of it as a puzzle, the collection (Store) of the pieces (Piece) make up your app's behaviour.
I truly appreciate it!
Thanks for your kind response
And sorry for my late reply ðŸ˜