fnmunhoz / street-comics

Simple app to navigate through all the comics ever released
0 stars 0 forks source link

feat(ComicsPage): mark comics as favorite #44

Closed fnmunhoz closed 3 years ago

fnmunhoz commented 3 years ago

Also improves the UI.

Needs a bunch of cleanups, but I will get there o/

When you mark comics as favorites, it will be persisted on the sessionStorage, which means that it will be persisted across tab reloads or tab duplications, but will be lost after closing the tab.

See: https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage

In the future, the persistence mechanism can be improved and moved to the backend.

https://user-images.githubusercontent.com/280914/128653225-6d07a9a0-7769-4f25-ad53-15b1cd1005a9.mp4

fnmunhoz commented 3 years ago

Closes #10