---
title: "State Management"
description: "How SDKs manage contextual state — scopes, attributes, breadcrumbs, and the deprecated Hub model."
url: https://develop.sentry.dev/sdk/foundations/state-management/
---

# State Management

* #### [Scopes](https://develop.sentry.dev/sdk/foundations/state-management/scopes.md)

  The three-scope model for propagating contextual data through SDK execution — global, isolation, and current scopes.

* #### [Hub & Scope (deprecated)](https://develop.sentry.dev/sdk/foundations/state-management/hub-and-scope.md)

  The original concurrency and context management model for Sentry SDKs, based on thread-local hub stacks and mutable scopes.

## Pages in this section

- [Scopes](https://develop.sentry.dev/sdk/foundations/state-management/scopes.md)
- [Hub & Scope (deprecated)](https://develop.sentry.dev/sdk/foundations/state-management/hub-and-scope.md)
