single-spa
single-spa copied to clipboard
Enhance `getProps` to Extract Dynamic Route Parameters
This PR improves the getProps function by enabling it to extract dynamic route parameters and include them in the final props object. These modifications enhance the functionality of single-spa applications by providing developers access to dynamic route parameters within the app props.
resolves #744
File size impact
dist (+6,178 bytes)
Overall impact on dist files size
| Diff | master | after merge |
|---|---|---|
| +6,178 | 329,325 | 335,503 |
Detailed impact on dist files size
| File | Diff | master | after merge | Event |
|---|---|---|---|---|
| lib/es2015/single-spa.dev.js | +935 | 55,235 | 56,170 | changed |
| lib/es2015/single-spa.min.js | +421 | 18,436 | 18,857 | changed |
| lib/esm/single-spa.dev.js | +1,084 | 59,471 | 60,555 | changed |
| lib/esm/single-spa.min.js | +438 | 20,885 | 21,323 | changed |
| lib/system/single-spa.dev.js | +1,282 | 69,444 | 70,726 | changed |
| lib/system/single-spa.min.js | +434 | 20,913 | 21,347 | changed |
| lib/umd/single-spa.dev.js | +1,150 | 63,795 | 64,945 | changed |
| lib/umd/single-spa.min.js | +434 | 21,146 | 21,580 | changed |
Impact on dist files cache
8 files in you users cache are now outdated because their content have changed.
| Bytes outdated |
|---|
| 329,325 |