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
In Storybook we normally use the featuresmain.js property to allow users to toggle between certain experimental features like experimentalRSC, however those are not taken into account in portable stories:
We can add support for these by parsing that property in main.js and injecting into a FEATURES object in globalThis during a test run (in a virtual set up file or the like)
We can discourage ourselves to use the features property whenever possible, and use parameters instead. The experimentalRSC flag was actually moved into parameters.react.rsc and that is automatically handled in portable stories
The text was updated successfully, but these errors were encountered:
In Storybook we normally use the
features
main.js property to allow users to toggle between certain experimental features likeexperimentalRSC
, however those are not taken into account in portable stories:💡 Solutions/Action items:
FEATURES
object in globalThis during a test run (in a virtual set up file or the like)experimentalRSC
flag was actually moved intoparameters.react.rsc
and that is automatically handled in portable storiesThe text was updated successfully, but these errors were encountered: