How to use the @freesewing/utils/storage.get function in @freesewing/utils

To help you get started, we’ve selected a few @freesewing/utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github freesewing / freesewing / packages / components / src / withStorage / index.js View on Github external
constructor(props) {
      super(props);
      this.setStorageData = this.setStorageData.bind(this);
      this.updateStorageData = this.updateStorageData.bind(this);
      this.state = { data: storage.get(name) || {} };
    }