问题
Is there a way to find how much size a state (object, array, etc) or a component occupies in memory.
In my current context, I need that to know if a specific state/component is very heavy (in term of memory).
In chrome, I already tried to snapshot the memory, but I couldn't find how to identify a specific component or state in the result in such large info like this:
来源:https://stackoverflow.com/questions/55476617/how-to-know-a-vuex-state-or-a-component-size-in-memory