mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
0d61f78379
This component used to persist form contents to LocalStorage. This was especially useful for the popup UI, as each time the mouse left the popup, the UI was completely torn down and state was lost. This component was only being referenced by one form, and it wasn't even being used there (e.g. no fields were labelled appropriately to be persisted). This was a useful component, and it seems this feature was lost somewhere in the past couple of years. It was tempting to re-instate it rather than delete it, but I decided not to because I'd likely approach the problem differently if we wanted to reinstate it again today (maybe by using a React Hook, or storing the state in Redux and persisting a subset of the Redux store instead). |
||
---|---|---|
.. | ||
account-link.js | ||
etherscan-prefix-for-network.js | ||
icon-factory.js | ||
is-mobile-view.js | ||
local-storage-helpers.js | ||
shallow-with-context.js | ||
test-timeout.js | ||
tx-helper.js | ||
webcam-utils.js |