I'm building a React app. When I install react-markdown and pass the markdown as a string it gives a console warning:
[remark-gfm] Warning: please upgrade to remark 13 to use this plugin
at ReactMarkdown
I have installed remark and it still happens.
import ReactMarkdown from 'react-markdown'
import gfm from 'remark-gfm'
// ...
<ReactMarkdown plugins={[gfm]} children={'#Hello world'}></ReactMarkdown>
Codesandox: https://codesandbox.io/s/react-markdown-bug-remark-gfm-13-jvi54
Not showing a warning
Shows incorrect warning
Fixed in 5.0.0!