anu-verzum 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,9 @@ const resetNextUnitOfWork = () => {
28
28
  if (!update) {
29
29
  return;
30
30
  }
31
+ if (update.from === CLASS_COMPONENT && !update.instance.__fiber) {
32
+ return;
33
+ }
31
34
  if (update.partialState) {
32
35
  update.instance.__fiber.partialState = update.partialState;
33
36
  }
@@ -375,6 +378,7 @@ const commitWork = effect => {
375
378
  if (effect.stateNode.componentWillUnmount) {
376
379
  effect.stateNode.componentWillUnmount();
377
380
  }
381
+ effect.stateNode.__fiber = null;
378
382
  }
379
383
  commitDeletion(effect, domParent);
380
384
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anu-verzum",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "A \"React-like\" UI library that supports JSX syntax, Redux-like state management, array-rendering, i18n, routing and many more.",
5
5
  "keywords": [
6
6
  "anu-verzum",