Article From:https://segmentfault.com/q/1010000009603183
Question:

What’s the difference between fetching data from state and fetching data from getter?

Answer 0:

stateIn general, the data in the getter needs to be processed and reused, and the data in the getter is the state data that will be processed later, so that other components can be used directly when they are used, without having to be processed again.

Leave a Reply

Your email address will not be published. Required fields are marked *