react-router-dom 0.0.0-experimental-e192105b → 0.0.0-experimental-7f486334

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.
package/dist/index.d.ts CHANGED
@@ -149,6 +149,10 @@ export interface FetcherFormProps extends React.FormHTMLAttributes<HTMLFormEleme
149
149
  * `event.preventDefault()` then this form will not do anything.
150
150
  */
151
151
  onSubmit?: React.FormEventHandler<HTMLFormElement>;
152
+ /**
153
+ * Enable flushSync navigation's staten updates
154
+ */
155
+ unstable_flushSync?: boolean;
152
156
  }
153
157
  export interface FormProps extends FetcherFormProps {
154
158
  /**
@@ -173,10 +177,6 @@ export interface FormProps extends FetcherFormProps {
173
177
  * State object to add to the history stack entry for this navigation
174
178
  */
175
179
  state?: any;
176
- /**
177
- * Enable flushSync navigation's staten updates
178
- */
179
- unstable_flushSync?: boolean;
180
180
  /**
181
181
  * Enable view transitions on this Form navigation
182
182
  */
@@ -258,7 +258,9 @@ export declare function useFormAction(action?: string, { relative }?: {
258
258
  export type FetcherWithComponents<TData> = Fetcher<TData> & {
259
259
  Form: React.ForwardRefExoticComponent<FetcherFormProps & React.RefAttributes<HTMLFormElement>>;
260
260
  submit: FetcherSubmitFunction;
261
- load: (href: string) => void;
261
+ load: (href: string, opts?: {
262
+ unstable_flushSync?: boolean;
263
+ }) => void;
262
264
  };
263
265
  /**
264
266
  * Interacts with route loaders and actions without causing a navigation. Great
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v0.0.0-experimental-e192105b
2
+ * React Router DOM v0.0.0-experimental-7f486334
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *