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
Right now react-markdown isn't optional. It needs to be installed as a different package in order to get a smaller bundle size.
What we should do is dynamically import react-markdown (and remark-gfm, a required plugin), only when markdown parsing is enabled (via some context setting). Doing it this way, the required react-markdown and remark-gfm packages will be only required when actually parsing markdown contents.
The text was updated successfully, but these errors were encountered:
Right now
react-markdown
isn't optional. It needs to be installed as a different package in order to get a smaller bundle size.What we should do is dynamically import react-markdown (and remark-gfm, a required plugin), only when markdown parsing is enabled (via some context setting). Doing it this way, the required
react-markdown
andremark-gfm
packages will be only required when actually parsing markdown contents.The text was updated successfully, but these errors were encountered: