Comments (2)
td is a built-in component so React has additional runtime typechecking according to the HTML spec. List is a userland component so React can't know what type a prop is supposed to be.
This is intended behavior. You can use data-* attributes instead to store custom information e.g. data-ltr.
from react.
@eps1lon, thanks for the explanation. But as I checked the HTML spec, there is no such attribute as ltr in HTML spec. Any attribute that is not there should be considered a custom attribute. Do I miss something here?
from react.
Related Issues (20)
- Bug: Getting `Cannot access refs during render` error from event handler. HOT 5
- Bug:
- Bug: `eslint-plugin-react-hooks` - Broken resolution in `7.0.1` HOT 2
- [DevTools Bug] Cannot read properties of undefined (reading 'map') HOT 3
- [DevTools Bug]: DevTools in Edge constantly display "Looks like this page doesn't have React, or it hasn't been loaded yet." HOT 14
- Bug: Race condition in completeSegment ($RS) causes "Cannot read properties of null (reading 'parentNode')" error
- Bug: wrong module identifer
- [Compiler Bug]: Compiler doesn't memoize if const is between hooks
- Bug: 6https://github.com/facebook/react/issues/new/choose HOT 1
- [Compiler Bug]: Update issue for nested objects HOT 2
- [Proposal] Server-Side React Specification with Declarative Side-Effects and Query-Based Selectivity HOT 1
- Bug: Errors thrown from "hidden" Activity boundaries shouldn't escape the boundary HOT 1
- Bug:
- Bug: React Input Memory Leak in Chrome (ESM build only)
- [Compiler Bug]: Closure prop hoisted outside its lexical scope
- [Compiler Bug]:
- [Compiler Bug]: eslint-disable incorrectly suppresses incompatible-library warning, causing silent memoization skip HOT 3
- [Compiler Bug]: setter not correctly recognized as setter, required in `useCallback` dependency array HOT 3
- [Compiler Bug]: function are not memorized correctly.
- Bug: Performance regression due to deferTask not batching HOT 1
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.