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
Babel react conserves the propTypes of components (which is both expected and wanted).
But in production mode they add no benefits to the components so we want to remove them.
Let's enquire and see if it's a common practice in the React world and if there are already tools to do that.
The text was updated successfully, but these errors were encountered:
gmarty
changed the title
Remove the propTypes from the production scripts
Optimise React for production builds
Apr 12, 2016
Babel react conserves the
propTypes
of components (which is both expected and wanted).But in production mode they add no benefits to the components so we want to remove them.
Let's enquire and see if it's a common practice in the React world and if there are already tools to do that.
The text was updated successfully, but these errors were encountered: