You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In dev mode, when a component exports a named function with the function keyword, then a warning "created without expected prop XXX" is issued in the browser console.
Example:
<script>exportfunctionpropOrNot(){}</script>
Logs
WARNING <Child> was created without expected prop 'propOrNot'
To me, zero... But I guess the fix is probably trivial. And maybe the incorrect state that leads to the warning might also be a cause for more annoying bugs?
The text was updated successfully, but these errors were encountered:
Describe the bug
In dev mode, when a component exports a named function with the
function
keyword, then a warning "created without expected prop XXX" is issued in the browser console.Example:
Logs
To Reproduce
REPL
Expected behavior
No warning.
Severity
To me, zero... But I guess the fix is probably trivial. And maybe the incorrect state that leads to the warning might also be a cause for more annoying bugs?
The text was updated successfully, but these errors were encountered: