You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @oieduardorabelo, thanks for your question.
Snapshots fail with pseudo-random values or values that change overtime and, apart from mocking the source of randomness, there is no solution.
In this case, as you said, the only way is passing the shortid generator as prop.
hey guys! :)
i've a few components that generates dynamic internal ids for their children, like:
Every time I start the style guide, I've a few red bars diffing only the ID.
Without moving it to a prop, there's any solution for this issue?
(I'm not worried about it tbh, just asking :P)
The text was updated successfully, but these errors were encountered: