TanStack
Store
v0
Auto
Framework
React
Version
Latest
Search...
+ K
Menu
Home
Frameworks
Contributors
GitHub
Discord
Getting Started
Overview
core
Installation
core
Quick Start
core
Quick Start
react
API Reference
JavaScript Reference
core
Classes / Store
core
Classes / Derived
core
Classes / Effect
core
Interfaces / StoreOptions
core
Interfaces / DerivedOptions
core
React Reference
react
Functions / useStore
react
Functions / shallow
react
Examples
Simple
react
TanStack
Store
v0
Auto
Search...
+ K
Framework
React
Version
Latest
Menu
Home
Frameworks
Contributors
GitHub
Discord
Getting Started
Overview
core
Installation
core
Quick Start
core
Quick Start
react
API Reference
JavaScript Reference
core
Classes / Store
core
Classes / Derived
core
Classes / Effect
core
Interfaces / StoreOptions
core
Interfaces / DerivedOptions
core
React Reference
react
Functions / useStore
react
Functions / shallow
react
Examples
Simple
react
On this page
Function: shallow()
Type Parameters
Parameters
objA
objB
Returns
shallow
Function: shallow()
ts
function shallow<T>(objA, objB): boolean
function shallow<T>(objA, objB): boolean
Defined in:
index.ts:42
Type Parameters
•
T
Parameters
objA
T
objB
T
Returns
boolean
Edit on GitHub
On this page
Function: shallow()
Type Parameters
Parameters
objA
objB
Returns
Functions / useStore
Simple
Our Partners
Wow, it looks like you could be our first partner for this library!
Chat with us!
TanStack
Query
Powerful asynchronous state management, server-state utilities and data fetching. Fetch, cache, update, and wrangle all forms of async data in your TS/JS, React, Vue, Solid, Svelte & Angular applications all without touching any "global state"
Learn More
TanStack
DB
TanStack DB extends TanStack Query with collections, live queries and optimistic mutations that keep your UI reactive, consistent and blazing fast 🔥
Learn More