Comments (11)
Object.hasOwn
is intentional. Previous versions did not have it. The latest version does.
10 years ago I had browser matrix tests. Browser tests are error prone and don’t add much. Browsers nowadays are evergreen: they automatically update.
That’s why the text in the readme says: “They work in all modern browsers (essentially: everything not IE 11)”.
I don’t think we need to add a definition of every word in the readme. I think that the current description is sufficient.
from react-markdown.
Chrome 90 is too old, and https://remarkjs.github.io/react-markdown is only for demo usage, I don't get why should we support Chrome 90.
We require ES2022 at b67d714
from react-markdown.
Hi! This was closed. Team: If this was fixed, please add phase/solved
. Otherwise, please add one of the no/*
labels.
from react-markdown.
Hi team! Could you describe why this has been marked as wontfix?
Thanks,
— bb
from react-markdown.
@JounQin the project's README claims:
They work in all modern browsers (essentially: everything not IE 11).
The reason why the package is not compatible to Chrome < 93 is that it uses Object.hasOwn
. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn#browser_compatibility
from react-markdown.
They work in all modern browsers (essentially: everything not IE 11).
That depends on what modern means, we can not support Chrome v1.0 of course.
from react-markdown.
That depends on what modern means, we can not support Chrome v1.0 of course.
You could add more clear definition in README.
from react-markdown.
This project is compatible with Node.js 16 and greater. That’s an exact definition. We don’t test across a matrix of different browser versions, so we don’t define the exact meaning of modern browser.
If you need to use modern features in an older browser, you can add a polyfill for missing APIs, or transpile modern syntax using Babel.
from react-markdown.
You could add more clear definition in README.
Indeed, unified
projects basically require non-legacy node versions, but browsers support it's not well defined.
Or maybe that section should just be removed considering #772 (comment) and #804 (comment)
cc @wooorm and @ChristianMurphy
from react-markdown.
in the browser ios Safari 15.1
I get an error - "Object.hasOwn is not a function. (In 'Object.hasOwn(e,t.from)', 'Object.hasOwn' is undefined)", why don’t you have processing?
from react-markdown.
@marshallcool see the comment earlier.
That’s why the text in the readme says: "They work in all modern browsers"
react-markdown
will work in evergreen browsers.
Safari 15 is two major versions behind.
You can polyfill your browser with https://github.com/zloirock/core-js if you want.
from react-markdown.
Related Issues (20)
- Headings and subheadings aren't getting rendered (NextJS 14/ChakraUI) HOT 3
- Invalid HTML syntax together with `rehype-raw` causes crash HOT 6
- Incorrect Languageless Code Block Rendering in Example HOT 12
- Identify `last-child` HOT 3
- Compatible with lower version browsers HOT 3
- TypeError: (0 , unist_util_visit__WEBPACK_IMPORTED_MODULE_1__.visit) is not a function HOT 3
- Syntex for showing underlined text HOT 3
- would it be avaliable for yarn HOT 2
- Support Automatic Link Detection and Hyperlinking HOT 4
- custom syntax and custom components are not working HOT 3
- github attached videos HOT 4
- Is it possible to prevent remounting of components (<ReactMarkdown components={...}>) when markdown changes? HOT 6
- Misidentify table contents HOT 4
- Unable to parse latex using rehypeKatex plugin HOT 7
- Can ReactMarkdown be used with react-lazy-load? HOT 2
- An error occurs with certain text when using `remarkMath` and `rehypeKatex`. HOT 8
- Dynamic children break the component HOT 17
- Attach onClick attribute to the elements HOT 2
- Markdown component not rendering images and also not rendering text in latex format HOT 2
- There is an issue with the urltransform prop, this prop is unstable and throwing an error named "Assertion: Unexpected `transformLinkUri` prop, use `urlTransform` instead" HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-markdown.