[react-markdown] ie11 support #707
-
React markdown viewer not working in ie11,how to solve this tried by adding poly fills but no luck |
Beta Was this translation helpful? Give feedback.
Answered by
ChristianMurphy
May 6, 2021
Replies: 1 comment 3 replies
-
React Markdown uses both new syntax features (like |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
React Markdown uses both new syntax features (like
const
) and new APIs (likeObject.assign
).Polyfills work for new APIs, for new syntax a transpiler is needed.
Consider using babel preset env https://babeljs.io/docs/en/babel-preset-env and set it to support your desired browser matrix.