iot-app-kit
iot-app-kit copied to clipboard
chore(scene composer): addressing react-hook linter warnings
Overview
Addressing a portion of the linter warnings from the implementation of react-hook
linter on Scene Composer. Takes us from 712 to 672 warnings.
Updates include:
- Removing unused imports
- Removing unused dependencies in hooks
- Adding missing dependencies in hooks to prevent infinite loops & ensure accurate executions
Verifying Changes
Scene Composer
For scene-composer
package changes specifically, you can preview the component in the published storybook artifact. To do this, wait for the Publish Storybook
action to complete below.
- Click on the workflow details
- Select the Summary item on the left
- Download the zip file
To run the storybook build locally, you need a local static web server:
npm install -g httpserver
cd <Extracted Zip Directory>
httpserver
Then open the website http://localhost:8080 to run the doc site.
Legal
This project is available under the Apache 2.0 License.
Did you manually update these or did you use the linter to auto-fix the warnings?