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:
Quick & Dirty I would write something unique into the component’s data and search for that string.
, I will need to make too many manual changes then rollback. Not very interesting – Subsidy