Comparing version 20.5.2 to 20.6.0
# CHANGELOG | ||
## 20.6.0 | ||
New `b.setActiveState` method for router to set state without changing URL or preventing clicking spree. It also does not invalidate anything. | ||
## 20.5.2 | ||
@@ -9,3 +13,3 @@ | ||
Fix behaviour with keysInClassNames. | ||
Fix behavior with keysInClassNames. | ||
@@ -12,0 +16,0 @@ ## 20.5.0 |
{ | ||
"name": "bobril", | ||
"version": "20.5.2", | ||
"version": "20.6.0", | ||
"description": "Component Oriented MVC Framework with virtual DOM and CSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -834,2 +834,7 @@ import { | ||
export function setActiveState(state: any) { | ||
history().replaceState({ historyDeepness, state }, ""); | ||
activeState = state; | ||
} | ||
export function useCanDeactivate(handler: NonNullable<Component["canDeactivate"]>): void { | ||
@@ -836,0 +841,0 @@ const ctx = getCurrentCtx(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
392247
9331