overleaf/services/web/frontend/js/shared
Alf Eaton 233ceb5356 Allow function as value for usePersistedState hook (#5131)
* Allow function value in usePersistedState
* Add tests for usePersistedState
* Use nullish coalescing to avoid calling getItem twice

GitOrigin-RevId: e0351addea904aefb7a402bff32689792b49fbbb
2021-09-24 08:04:21 +00:00
..
components Merge pull request #5031 from overleaf/ab-paywall-events 2021-09-17 08:03:12 +00:00
context Merge pull request #4715 from overleaf/ab-project-members-modal-split-test 2021-08-20 08:04:05 +00:00
hooks Allow function as value for usePersistedState hook (#5131) 2021-09-24 08:04:21 +00:00
utils Merge pull request #3973 from overleaf/as-clean-up-hue-generator 2021-05-19 02:06:15 +00:00