@egjs/react-flicking
Advanced tools
Comparing version 4.5.2-beta.0 to 4.5.2-beta.1
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-flicking/tree/master/packages/react-flicking | ||
version: 4.5.2-beta.0 | ||
version: 4.5.2-beta.1 | ||
*/ | ||
@@ -538,4 +538,7 @@ 'use strict'; | ||
__proto.shouldComponentUpdate = function (nextProps) { | ||
var props = this.props; | ||
var vanillaFlicking = this._vanillaFlicking; | ||
var props = this.props; // Ignore updates before init, they will be updated after "ready" event's force update | ||
if (!vanillaFlicking || !vanillaFlicking.initialized) return false; | ||
if (this._currentState !== LifeCycleState.BEFORE_UPDATE && props.children !== nextProps.children) { | ||
@@ -542,0 +545,0 @@ var nextChildren = this._getChildren(nextProps.children); |
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-flicking/tree/master/packages/react-flicking | ||
version: 4.5.2-beta.0 | ||
version: 4.5.2-beta.1 | ||
*/ | ||
@@ -538,4 +538,7 @@ import * as React from 'react'; | ||
__proto.shouldComponentUpdate = function (nextProps) { | ||
var props = this.props; | ||
var vanillaFlicking = this._vanillaFlicking; | ||
var props = this.props; // Ignore updates before init, they will be updated after "ready" event's force update | ||
if (!vanillaFlicking || !vanillaFlicking.initialized) return false; | ||
if (this._currentState !== LifeCycleState.BEFORE_UPDATE && props.children !== nextProps.children) { | ||
@@ -542,0 +545,0 @@ var nextChildren = this._getChildren(nextProps.children); |
{ | ||
"name": "@egjs/react-flicking", | ||
"version": "4.5.2-beta.0", | ||
"version": "4.5.2-beta.1", | ||
"description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.", | ||
@@ -5,0 +5,0 @@ "main": "dist/flicking.cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142624
1957