@lightningjs/blits
Advanced tools
Comparing version
# Changelog | ||
## v1.16.1 | ||
_17 jan 2025_ | ||
- Fixed issue in certain browsers caused by route query params functionality (and optimized for performance) | ||
## v1.16.0 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@lightningjs/blits", | ||
"version": "1.16.0", | ||
"version": "1.16.1", | ||
"description": "Blits: The Lightning 3 App Development Framework", | ||
@@ -5,0 +5,0 @@ "bin": "bin/index.js", |
@@ -159,2 +159,9 @@ /* | ||
holder.set('h', '100%') | ||
const queryParamsData = {} | ||
const queryParamsEntries = [...queryParams.entries()] | ||
for (let i = 0; i < queryParamsEntries.length; i++) { | ||
queryParamsData[queryParamsEntries[i][0]] = queryParamsEntries[i][1] | ||
} | ||
// merge props with potential route params, navigation data and route data to be injected into the component instance | ||
@@ -166,6 +173,3 @@ const props = { | ||
...route.data, | ||
...queryParams.entries().reduce((obj, item) => { | ||
obj[item[0]] = item[1] | ||
return obj | ||
}, {}), | ||
...queryParamsData, | ||
} | ||
@@ -172,0 +176,0 @@ |
659912
0.04%13704
0.01%