React Core & Hooks (407 Qs)•General
Are custom DOM attributes supported in React v16?
mid LevelreactGeneral
Note: This question references React v16, which is outdated. The information below applies to React 16+, including current versions (React 18/19).
Yes. Starting with React 16, React no longer ignores unknown DOM attributes. If you write JSX with an attribute that React doesn't recogni