Socket
Socket
Sign inDemoInstall

@types/react-dom

Package Overview
Dependencies
3
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 18.2.8 to 18.2.9

23

react-dom/experimental.d.ts

@@ -35,2 +35,4 @@ /**

declare const REACT_FORM_STATE_SIGIL: unique symbol;
declare module "." {

@@ -54,2 +56,23 @@ interface FormStatusNotPending {

function experimental_useFormStatus(): FormStatus;
function experimental_useFormState<State>(
action: (state: State) => Promise<State>,
initialState: State,
permalink?: string,
): [state: State, dispatch: () => void];
function experimental_useFormState<State, Payload>(
action: (state: State, payload: Payload) => Promise<State>,
initialState: State,
permalink?: string,
): [state: State, dispatch: (payload: Payload) => void];
}
declare module './client' {
interface ReactFormState {
[REACT_FORM_STATE_SIGIL]: never;
}
interface HydrationOptions {
experimental_formState?: ReactFormState | null;
}
}

4

react-dom/package.json
{
"name": "@types/react-dom",
"version": "18.2.8",
"version": "18.2.9",
"description": "TypeScript definitions for React (react-dom)",

@@ -52,3 +52,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom",

},
"typesPublisherContentHash": "f37f361aad53e3f7a39972574a1b1cab2abe083c8bf24b0529d11877c5e0f940",
"typesPublisherContentHash": "771c775383a7ee5d36a780b07a71d47c2a43412521804449e3262779a91ad0d5",
"typeScriptVersion": "4.5",

@@ -55,0 +55,0 @@ "exports": {

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT
* Last updated: Wed, 04 Oct 2023 14:05:53 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +14,0 @@ * Global values: `ReactDOM`, `ReactDOMServer`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc