pmndrs / drei-vanilla

🍦 drei-inspired helpers for threejs
https://pmndrs.github.io/drei-vanilla/
MIT License
450 stars 17 forks source link

storybook refresh page on story change #11

Closed vis-prime closed 1 year ago

vis-prime commented 1 year ago

Why

Due to no HMR switching stories used to compund old data and lead to crash

What

Using 'STORY_CHANGED' event doing a 'location.reload()' on each story change and using lil-gui instead of storybook controls to prevent HMR issues

Checklist

codesandbox-ci[bot] commented 1 year ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0c2b46000a2128b93f334690b1c7c9f38612b534:

Sandbox Source
hidden-tree-w6dosi Configuration
Ground reflections and video textures Configuration
arc-x-pmndrs-colors Configuration
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.3.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: