Skip to content

Commit

Permalink
bridge: disable value debounce for knobs in storybook
Browse files Browse the repository at this point in the history
So far we have no use for debounced values from knobs in storybook - we
only use few knobs and the updates seem to be quite performant.
We filed storybookjs/storybook#10019 [0] to check with the storybook
maintainers if the behavior we witnessed is as expected.
While researching we saw that work [1] was put into this area recently
so maybe more fine grained controls will be possible with the next
release, which we then can use if need arises.

[0] storybookjs/storybook#10019
[1] storybookjs/storybook#9447

Change-Id: I3ea30acb60e142dff5c9fbf4fe4cda9a40d4c990
  • Loading branch information
wiese committed Mar 3, 2020
1 parent 6ac0ca1 commit 357454d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/data-bridge/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ addParameters( {
docs: {
inlineStories: true,
},
knobs: {
disableDebounce: true,
},
} );

extendVueEnvironment(
Expand Down

0 comments on commit 357454d

Please sign in to comment.