Instead of calling the API on every dashboard page load, this will call once and store the data in sessionStorage. The sessionStorage data is then used for dashboard renders. This limits requests to the server, and allows for much faster subsequent renders, and makes it easier to work with the data client-side for other features.
Issue(s)
104
Changelog
Added
Cache dashboard pledge data client-side. [#104]
Fixed
Allow auth requests from both API URL and site URL. [#104]
Summary
Instead of calling the API on every dashboard page load, this will call once and store the data in
sessionStorage
. ThesessionStorage
data is then used for dashboard renders. This limits requests to the server, and allows for much faster subsequent renders, and makes it easier to work with the data client-side for other features.Issue(s)
104
Changelog
Added
Fixed
Checklist