Skip to content

Conversation

@gmarty
Copy link
Contributor

@gmarty gmarty commented Nov 7, 2016

This PR applies 2 low-hanging fruits related to production build:

  • Strip calls to console.* as per console.log statements.
  • Strip propTypes from classes. This plugin is widely used in React but I couldn't find any clue on how useful it would be in React Native. My guess is it will remove some code and may possibly have a good impact on JS parsing time. PropTypes are not used in production anyway.

@wilsonpage
Copy link
Collaborator

LGTM @gmarty r+

@gmarty gmarty self-assigned this Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants