Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Expanded warning recommendation
  • Loading branch information
Brian Vaughn committed Apr 7, 2020
commit 07f02dc4d97d0024d120ce2b04ffacd497f6784b
3 changes: 2 additions & 1 deletion packages/react-dom/src/shared/DOMProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ export function shouldRemoveAttribute(
if (__DEV__) {
console.error(
'Invalid value "" (empty string) for attribute `%s`. ' +
'Use `null` instead to indicate an empty value.',
'This will be a no-op. Either do not render the element at all ' +
'or use `null` instead to indicate an empty value.',
name,
);
}
Expand Down