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
'Received an unexpected object in getComponentName(). '+
A very small thing, would it be better to change the getComponentName to getComponentNameFromType in the error log since we separated the original logic into two functions (getComponentNameFromType, getComponentNameFromFiber)? Although it wouldn't be an issue for the authors, it feels like it would be better to sync it with the function name? Would you mind renaming it in the next 'typo fixing'?
The text was updated successfully, but these errors were encountered:
faebzz
added a commit
to faebzz/react
that referenced
this issue
May 6, 2021
react/packages/shared/getComponentNameFromType.js
Line 56 in bd070eb
A very small thing, would it be better to change the
getComponentName
togetComponentNameFromType
in the error log since we separated the original logic into two functions (getComponentNameFromType
,getComponentNameFromFiber
)? Although it wouldn't be an issue for the authors, it feels like it would be better to sync it with the function name? Would you mind renaming it in the next 'typo fixing'?The text was updated successfully, but these errors were encountered: