We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d06d5a commit 31c1e3aCopy full SHA for 31c1e3a
packages/react-flicking/src/react-flicking/Flicking.tsx
@@ -266,11 +266,7 @@ class Flicking extends React.Component<Partial<FlickingProps & FlickingOptions>>
266
const same = prevChildren.every((child, idx) => {
267
const nextChild = nextChildren[idx];
268
269
- if (child.key && nextChild.key) {
270
- return child.key === nextChild.key && Object.keys(child.props).every(key => child.props[key] === nextChild.props[key]);
271
- } else {
272
- return child === nextChild;
273
- }
+ return child === nextChild;
274
});
275
276
return same;
0 commit comments