This is however not the best solution. Their are moments were localstorage is not accessible. This also opens security concerns as you are saving all that data user side and it can be modified for many purpose but also very easily accessible.
This does not also does not track changes and there is no history and caching as well.
I would definitely recommend using a solution made for that purpose for any bigger app as this will have many issued on the long term
I would recommend to go for overmindjs.org/ it is very simple to put into place and to use with websites, it supports react, vue, angular and even react native for instance.
This is however not the best solution. Their are moments were localstorage is not accessible. This also opens security concerns as you are saving all that data user side and it can be modified for many purpose but also very easily accessible.
This does not also does not track changes and there is no history and caching as well.
I would definitely recommend using a solution made for that purpose for any bigger app as this will have many issued on the long term
I would recommend to go for overmindjs.org/ it is very simple to put into place and to use with websites, it supports react, vue, angular and even react native for instance.
This is far from the best solution, its just a really simple one.... 😅