Open tommy-lettieri opened 3 years ago
This affects version 0.0.0-2 This works fine in storyboard but on the consumer once the ReactMarkdown loads it crashes
To see the warning just run
npm run build-rollup
Since some work has been done I reconfirmed
Changing GenericCard.tsx as follows:
// Comment out ReactMarkdown import
// import ReactMarkdown from 'react-markdown';
// Make a dummy component to replace it
const ReactMarkdown = ({ children }: any) => <div>{ children }</div>;
Makes the cyclic dependency go away
Currently on version v0.1.0
This issue is more precisely the issue I'm facing https://github.com/remarkjs/remark-rehype/issues/19
After adding ReactMarkdown i started getting warnings when "rolling up" the project, this was the warning:
It was mentioned in this comment here recently https://github.com/syntax-tree/unist-util-select/issues/9#issuecomment-833899583
I'll come back to it but for right now I'm going to try to just build it with typescript alone