Download the repository.
npm install
npm run storybook
cd frontity
npm install
npm run dev
I get the error: Uncaught TypeError: state.source.get is not a function
These two lines fail in storybook. The workarounds I found are hacks and not real soutions.
const { next, previous } = state.source.get(state.router.link);
// Pre-fetch the the next page if it hasn't been fetched yet.
useEffect(() => {
if (next) actions.source.fetch(next);
}, []);
This is not working in storybook.
const Html2React = libraries.html2react.Component;