Closed loqtor closed 6 years ago
Hello! Thanks for reaching out.
https://codesandbox.io/s/oqmqxnoj2y
I've augmented the redux example app on CodeSandbox with some react-albus stuff in there. All seems to work fine using withWizard
. Specifically, check /containers/VisibleTodoList
What version of react-albus are you using?
@loqtor Be sure you are rendering your withWizard
wrapped component within a Wizard
, else it won't be able to access context.wizard
Hi guys,
I'm currently trying to use the
withWizard
enhancer and I cannot get my head around on what is expecting me to pass in.Here's what I'm trying:
I get this error:
Uncaught TypeError: Cannot read property 'init' of undefined
When trying to debug it, I noticed that when the enhancer is invoked, it (apparently) expects a reference to the wizard and that's the part where I'm lost. :)
Can you guys provide an example of how the enhancer should be used? Thanks.
Cheers!