Skip to content

Commit 02bfe5e

Browse files
yasincanakmehmethswolff
authored andcommitted
Upgrade to latest react (#24)
* chore: update packages * fix: add unsafe to lifecycle method name * test: update tests for enzyme v3 * test: remove unnecessary exist checks * chore: update react dependency version
1 parent 23a24a5 commit 02bfe5e

File tree

6 files changed

+739
-391
lines changed

6 files changed

+739
-391
lines changed

lib/connect-backbone-to-react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ module.exports = function connectBackboneToReact(
137137
return this.wrappedInstance;
138138
}
139139

140-
componentWillReceiveProps(nextProps, nextContext) {
140+
UNSAFE_componentWillReceiveProps(nextProps, nextContext) { // eslint-disable-line camelcase
141141
this.setModels(nextProps, nextContext);
142142
this.createNewProps();
143143

0 commit comments

Comments
 (0)