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
{{ message }}
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
Currently this means when we debug we get a wrapper like inject-Component or inject-Component-with-storeA. This is inconsistent with the rest of the HOC components like observer(Component).
Why isn't inject using displayName like inject(Component) or inject-with-storeA(Component)?
Before running around creating PR's everywhere I thought I'd ask why the inject HOC has a non-standard display name wrapper?
mobx-react/src/inject.js
Lines 37 to 43 in ab90ae6
Currently this means when we debug we get a wrapper like
inject-Componentorinject-Component-with-storeA. This is inconsistent with the rest of the HOC components likeobserver(Component).Why isn't inject using displayName like
inject(Component)orinject-with-storeA(Component)?