react-use icon indicating copy to clipboard operation
react-use copied to clipboard

feat: add 'remove' method to useSessionStorage

Open Nigui opened this issue 3 years ago • 1 comments

Description

Adds missing remove feature on session storage hook. Feature was already available for local storage hook.

Adds tests to session storage hook.

Type of change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [X] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as before)

Checklist

  • [X] Read the Contributing Guide
  • [X] Perform a code self-review
  • [] Comment the code, particularly in hard-to-understand areas
  • [X] Add documentation
  • [X] Add hook's story at Storybook
  • [X] Cover changes with tests
  • [X] Ensure the test suite passes (yarn test)
  • [X] Provide 100% tests coverage
  • [X] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
  • [X]Make sure types are fine (yarn lint:types).

Nigui avatar Mar 31 '22 14:03 Nigui

Please release ;)

piotrpawlik avatar Sep 27 '22 08:09 piotrpawlik