ft-interactive / starter-kit

A template for IG pages
65 stars 15 forks source link

Figure out why some component names are different in production #247

Closed davidbjourno closed 3 months ago

davidbjourno commented 5 years ago

E.g. <App /> becomes <h />.

aendra-rininsland commented 5 years ago

Isn't this just minification? If you set the .displayName property of a component it'll show up in dev tools as that in prod instead of the minified version.

If I'm wrong about this lmk and I'll reopen.

davidbjourno commented 5 years ago

As discussed, @aendrew to research use of babel-plugin-add-react-displayname to bring Starter Kit more into alignment with g-components.

aendra-rininsland commented 3 months ago

Closing as woefully outdated