@lightningjs/blits 1.38.1 → 1.38.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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/lib/reactivity/reactive.js +1 -1
- package/src/router/router.js +3 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -155,7 +155,7 @@ const reactiveDefineProperty = (target, global) => {
|
|
|
155
155
|
if (Object.getPrototypeOf(target[key]) === Object.prototype) {
|
|
156
156
|
return reactiveDefineProperty(target[key])
|
|
157
157
|
} else if (Array.isArray(target[key]) === true) {
|
|
158
|
-
for (let i = 0; i < arrayPatchMethods.length
|
|
158
|
+
for (let i = 0; i < arrayPatchMethods.length; i++) {
|
|
159
159
|
target[key][arrayPatchMethods[i]] = function (v) {
|
|
160
160
|
Array.prototype[arrayPatchMethods[i]].call(this, v)
|
|
161
161
|
trigger(target, key)
|
package/src/router/router.js
CHANGED
|
@@ -358,7 +358,9 @@ export const navigate = async function () {
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
|
|
361
|
+
if (reuse === false) {
|
|
362
|
+
this[symbols.children].push(view)
|
|
363
|
+
}
|
|
362
364
|
|
|
363
365
|
// keep reference to the previous focus for storing in cache
|
|
364
366
|
previousFocus = Focus.get()
|