It's an example, the methods in question could be fetching data.
For example getBasket could fill the store's basket state variable needed by fetchOptions. I simply wasn't going to show the contents of these methods as they don't seem relevant to the point I'm making.
Thank you for your feedback Yawar !
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It's an example, the methods in question could be fetching data.
For example
getBasket
could fill the store'sbasket
state variable needed byfetchOptions
. I simply wasn't going to show the contents of these methods as they don't seem relevant to the point I'm making.Thank you for your feedback Yawar !