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
It seems like a fast pipe in the example doesn't work as expected and the add method returns while the module or function that contains the story shouldn't. I'm not that good with ReasonML to explain why.
If you change to:
let my_section = storiesOf("My First Reason Story", _module);
let _ = add(my_section ,"Chapter I", ()=><span> {React.string("Hello bs-storybook!")} </span>);
I installed this via https://github.com/draftbit/bs-storybook to workaround #13. I am only attempting to write the basic story example when running into this error.
The word
add
on line 5 is what's highlighted in the error by the ReScript compilerUsing
"bs-platform": "^8.4.2",
The text was updated successfully, but these errors were encountered: