Hi! I don't think the specifics of how/where are important, but let me know if this doesn't help:
Given the reduxState, we construct a redux store object that is used for the classic redux provider. Pseudo code would be:
const mockStore = configureMockStore(middlewares)(args.reduxState); return <Provider store={mockStore}>{children}</Provider>
Thank you. I was just clarifying the bigger picture.
Is there any way to get those created args to be visible in story book?
Ah, it looks as though you have to explicitly say the table: { disable: false } in the associated argTypes.
table: { disable: false }
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! I don't think the specifics of how/where are important, but let me know if this doesn't help:
Given the reduxState, we construct a redux store object that is used for the classic redux provider. Pseudo code would be:
Thank you. I was just clarifying the bigger picture.
Is there any way to get those created args to be visible in story book?
Ah, it looks as though you have to explicitly say the
table: { disable: false }
in the associated argTypes.