anu-verzum 1.21.0 → 1.21.2

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.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <h3>@author: <strong>Anubis-programmer</strong></h3>
6
6
  <h3>@license: <strong>MIT</strong></h3>
7
- <h3>@version: <strong>1.21.0</strong></h3>
7
+ <h3>@version: <strong>1.21.2</strong></h3>
8
8
 
9
9
  <br>
10
10
 
@@ -191,5 +191,9 @@ Full usage documentation, API reference, and code examples:
191
191
 
192
192
  **[USERS_MANUAL.md](./documentation/USERS_MANUAL.md)**
193
193
 
194
+ Architecture overview, module deep-dives, and implementation details for contributors:
195
+
196
+ **[TECHNICAL_DOCUMENTATION.md](./documentation/TECHNICAL_DOCUMENTATION.md)**
197
+
194
198
  <br>
195
199
  <hr>
@@ -139,19 +139,16 @@ const updateClassComponent = wipFiber => {
139
139
  cloneChildFibers(wipFiber);
140
140
  return;
141
141
  }
142
- const nextProps = {
143
- ...wipFiber.props
144
- };
145
142
  let nextState;
146
143
  if (!wipFiber.partialStateCallback) {
147
144
  nextState = Object.assign({}, instance.state, wipFiber.partialState);
148
145
  } else {
149
- nextState = wipFiber.partialStateCallback(instance.state, nextProps);
146
+ nextState = wipFiber.partialStateCallback(instance.state, wipFiber.props);
150
147
  }
151
148
  wipFiber.prevState = {
152
149
  ...instance.state
153
150
  };
154
- instance.props = nextProps;
151
+ instance.props = wipFiber.props;
155
152
  instance.state = nextState;
156
153
  wipFiber.partialState = undefined;
157
154
  delete wipFiber.partialStateCallback;
@@ -357,12 +354,6 @@ const commitWork = effect => {
357
354
  } else if (effect.effectTag === UPDATE) {
358
355
  if (effect && effect.stateNode && effect.alternate && effect.alternate.props && effect.props) {
359
356
  if (effect.tag === HOST_COMPONENT) {
360
- const nextDomSibling = getNextHostNode(effect, domParent);
361
- if (nextDomSibling) {
362
- domParent.insertBefore(effect.stateNode, nextDomSibling);
363
- } else {
364
- domParent.appendChild(effect.stateNode);
365
- }
366
357
  (0, _domUtils.updateDomProperties)(effect.stateNode, effect.alternate.props, effect.props, _domUtils.SVG_ELEMENT_LIST.indexOf(effect.type) > -1);
367
358
  if (effect.ref) {
368
359
  effect.ref.current = effect.stateNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anu-verzum",
3
- "version": "1.21.0",
3
+ "version": "1.21.2",
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",