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
Since ReactDOM 15.4.* is out, the require hijack should be removed so that stories that use overlays (such as react-bootstrap's OverlayTrigger) can be tested.
Currently, in run_storyshots.js, the ReactDOM dependency is hijacked. This means any story that uses unstable_renderSubtreeIntoContainer or any other function provided by ReactDOM (such as any of the functionality provided here) cannot be tested.
I have a current work around where I invoke the cli directly:
Issue by imontiel
Monday Mar 20, 2017 at 21:00 GMT
Originally opened as storybook-eol/storyshots#90
Since ReactDOM 15.4.* is out, the require hijack should be removed so that stories that use overlays (such as react-bootstrap's
OverlayTrigger
) can be tested.Currently, in run_storyshots.js, the
ReactDOM
dependency is hijacked. This means any story that usesunstable_renderSubtreeIntoContainer
or any other function provided by ReactDOM (such as any of the functionality provided here) cannot be tested.I have a current work around where I invoke the cli directly:
I guess the easiest solution is to remove the hijack, change the ReactDOM dependency to
^15.4.0
and upversion to3.3.0
?The text was updated successfully, but these errors were encountered: