@manyducks.co/dolla 0.75.1 → 0.76.0

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.
@@ -81,9 +81,13 @@ interface ParsedQuery extends ParsedParams {
81
81
  interface NavigateOptions {
82
82
  /**
83
83
  * Replace the current item in the history stack instead of adding a new one.
84
- * The back button will send the user to the page they visited before this.
84
+ * The back button will send the user to the page they visited before this. Defaults to false.
85
85
  */
86
86
  replace?: boolean;
87
+ /**
88
+ * Preserve existing query params (if any) when navigating. Defaults to false.
89
+ */
90
+ preserveQuery?: boolean;
87
91
  }
88
92
  interface RouterStoreOptions {
89
93
  routes: Route[];
package/notes/views.md CHANGED
@@ -1,4 +1,4 @@
1
- ```js
1
+ ```jsx
2
2
  import { View, Store, $, $$ } from "@manyducks.co/dolla";
3
3
 
4
4
  const SomeView = View("SomeView")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manyducks.co/dolla",
3
- "version": "0.75.1",
3
+ "version": "0.76.0",
4
4
  "description": "Front-end components, routing and state management.",
5
5
  "main": "lib/index.js",
6
6
  "types": "./index.d.ts",