# Class RecoilState<T>

#### Type Parameters

- T

#### Hierarchy

- AbstractRecoilValue<T>
  - RecoilState

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:396

#####
Index

### Constructors

constructor

### Properties

__cTag
__tag
key

### Methods

toJSON

## Constructors

### constructor

- new RecoilState<T>(newKey): RecoilState<T>

- #### Type Parameters

  - T

  #### Parameters

  - newKey: string

  #### Returns RecoilState<T>

  Inherited from AbstractRecoilValue<T>.constructor

  - Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:384

## Properties

### __cTag

__cTag: ((t) => void)

#### Type declaration

- - (t): void

  - #### Parameters

    - t: T

    #### Returns void

Inherited from AbstractRecoilValue.__cTag

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:381

### __tag

__tag: [T]

Inherited from AbstractRecoilValue.__tag

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:380

### key

key: string

Inherited from AbstractRecoilValue.key

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:383

## Methods

### toJSON

- toJSON(): {
  key: string;
  }

- #### Returns {
  key: string;
  }

  - ##### key: string

  Inherited from AbstractRecoilValue.toJSON

  - Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:385