Note: Make sure to finish the previous exercises before working on this one.
Let's create a custom defineReadonlyState()
that creates private state and then exposes it as readonly in the public store. This is like the definePrivateState()
with a twist!