Define a EppsStore
Let's take a Store representing a user as an example. This Store will extend a Store representing a person and benefit from the latter's State and methods. It will also extend the “setData” method, so when useStore.setData is executed, the personStore.setData method will also be executed.
To define a Store that will extend the State and methods of other Stores, use the defineEppsStore and extendedState functions.
To benefit from the State's persistence function, only the extendedState function is required.