I have recently been doing intense profiling of the slider ticks generation and found it to be impossible to do properly inside Storybook because of an infinite loop that stems most likely from an issue with Storybook itself.
As a test case, one can take a large dataset of date strings (~20,000 entries), loaded as JSON into a Storybook arg populating the slider steps of the Time Control. With this many entries, the Storybook page will freeze and crash entire tabs.
Now press the button which opens the iframe with only the element itself, and you will see: the initialization of the slider takes just 90ms instead of 10 seconds.
I would like to start a discussion on the topic since I am not sure what to make of the version fixes mentioned in the issue thread.
@spectrachrome did removing the @storybook/addon-interactions plugin as mentioned in that issue help? I don't think anyone uses that interactions functionality.
I have recently been doing intense profiling of the slider ticks generation and found it to be impossible to do properly inside Storybook because of an infinite loop that stems most likely from an issue with Storybook itself.
As a test case, one can take a large dataset of date strings (~20,000 entries), loaded as JSON into a Storybook arg populating the slider steps of the Time Control. With this many entries, the Storybook page will freeze and crash entire tabs.
Now press the button which opens the iframe with only the element itself, and you will see: the initialization of the slider takes just 90ms instead of 10 seconds.
I would like to start a discussion on the topic since I am not sure what to make of the version fixes mentioned in the issue thread.