history
Advanced tools
Comparing version 5.0.3 to 5.1.0
@@ -46,2 +46,9 @@ /** | ||
/** | ||
* An object that is used to associate some arbitrary data with a location, but | ||
* that does not appear in the URL path. | ||
* | ||
* @see https://github.com/ReactTraining/history/tree/master/docs/api-reference.md#location.state | ||
*/ | ||
export declare type State = object | null; | ||
/** | ||
* A unique string associated with a location. May be used to safely store | ||
@@ -48,0 +55,0 @@ * and retrieve data in some other storage API, like `localStorage`. |
{ | ||
"name": "history", | ||
"version": "5.0.3", | ||
"version": "5.1.0", | ||
"description": "Manage session history with JavaScript", | ||
@@ -5,0 +5,0 @@ "author": "React Training <hello@reacttraining.com>", |
56627
515