Please make Form compatible with Storybook #2512
Locked
ianwremmel
started this conversation in
Proposals
Replies: 1 comment
-
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.
-
The
<Form/>
component throws an error if it's not nested under a<RemixRoute />
. Unfortunately,<RemixRoute/>
throws an error if it's not nested under a<RemixEntry />
.<RemixEntry/>
requires number of arguments that would be strange to mock for purposes of storybook. Would it be reasonable to export a component that sets up the underlying contexts so that<Form />
can work in Storybook?Beta Was this translation helpful? Give feedback.
All reactions