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
Currently the dev server filters JS files and only attempts to render components (e.g. functions, props => <Button>Hello</Button>). For snapshots, storybook stories, etc., a static React element is usually good enough (and we don't pass props into these anyhow) – e.g. <Button>Beep</Button>.
It's probably a good idea to either make the dev server handle elements as well, or perhaps make all the utilities handle both components and elements
The text was updated successfully, but these errors were encountered:
Currently the dev server filters JS files and only attempts to render components (e.g. functions,
props => <Button>Hello</Button>
). For snapshots, storybook stories, etc., a static React element is usually good enough (and we don't pass props into these anyhow) – e.g.<Button>Beep</Button>
.It's probably a good idea to either make the dev server handle elements as well, or perhaps make all the utilities handle both components and elements
The text was updated successfully, but these errors were encountered: