fix: handle different cases of React `fetchPriority` (#47302)
In React 18.3.0 or newer, we must user camelCase `fetchPriority` prop to avoid "Warning: Invalid DOM property". In React 18.2.0 and older, we must use the lowercase `fetchpriority` prop to avoid "Warning: Invalid DOM property". See https://github.com/facebook/react/pull/25927
Showing
Please
register
or
sign in
to comment