Replies: 1 comment
-
|
Have you looked into initializing Faker with the same seed wherever it's being called from? https://fakerjs.dev/api/mersenne.html#seed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using generated random data for my (storybook) stories.
faker-js generates realistic data, using
2 juli 2022vs a27 september 2022in combination withJohn Doevs aMr. Adrienne Schowalter IIaffects how the components looks.This highlights where we can tweak the component to make ik look nice for many circumstances.
When I use faker in histoire, it doesn't work as i'd expect.
As the component is executed in both in the preview iframe and in the controls sidebar the value(s) of
nameare different.Is there a solution for storing/syncing random state in a story?
Beta Was this translation helpful? Give feedback.
All reactions