The primary target of this refactor is to allow other components to easily update data without the need for prop drilling or declaring functions that update state outside components.
I know the latter is perfectly possible, but I think pinia wouldn't exist if it doesn't do some optimizations under the hood
The primary target of this refactor is to allow other components to easily update data without the need for prop drilling or declaring functions that update state outside components. I know the latter is perfectly possible, but I think pinia wouldn't exist if it doesn't do some optimizations under the hood