Releases: oliviertassinari/babel-plugin-transform-react-remove-prop-types
Releases · oliviertassinari/babel-plugin-transform-react-remove-prop-types
v0.2.11
Fixes / Enhancements
- [stateless] Go deeper in the return statement to look for React element (#67)
v0.2.10
Fixes / Enhancements
- [Class] Fix an issue with the export syntax (#45)
- [es6] Add integration tests for this target (d124c32)
- [docs] Fix .babelrc example configuration with options (#57)
- [docs] Improve the descriptions (a154466, b19fe1c)
v0.2.9
Improvements
- Add support for the
React.PureComponent
syntax released in v15.3.0 (#41).
Core
- Upgrade the flow dev-dependency.
v0.2.8
New features
- Add a mode option (#36). The default mode is
remove
. The new experimental mode is wrap
. It's quite useful for libs authors.
Core
- Add test cases for intermediate variable (#33).
- Upgrade the dependencies to the latest version
- Add flow weak
v0.2.7
Improvements
- Move
babel-core
to the devDependencies
.
v0.2.6
Bug fixes
- Fix an issue when declaring the
propTypes
with ES6 classes #14
- Fix an issue with stateless functional component and arrow function #22
Core
- Add
eslint
to increase the code quality.
v0.2.5
Bug fixes
- Fix Stateless functional component that returns
undefined
#13
v0.2.4
Improvements
- Add support for ES6 classes without a name #11.
export default class extends Component {};
v0.2.3
Bug fixes
- Fix ES6 class extend when not using
React.Component
or Component
as the inherited class. #7
v0.2.2
Improvements
- Add support for
React.createElement
syntax with stateless functionnal component. Thanks @NogsMPLS