2021-10-17 18:26:00 +02:00
|
|
|
---
|
2022-09-29 19:03:02 +02:00
|
|
|
title: Store
|
2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-09-29 23:03:28 +02:00
|
|
|
A **Store** object holds a simple key/value store with methods for storing and
|
2023-10-21 14:48:06 +02:00
|
|
|
retrieving data. It is shared across the pattern, and is a the recommended way
|
|
|
|
to pass data between your parts.
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2023-10-21 14:48:06 +02:00
|
|
|
The store can also be extended with additional methods by plugins. Refer to
|
|
|
|
[the plugin guide](/guides/plugins) for more details.
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2023-10-21 14:48:06 +02:00
|
|
|
## Methods and Properties
|
2022-09-29 23:03:28 +02:00
|
|
|
|
2022-12-09 07:34:44 -08:00
|
|
|
A Store object exposes the following methods and properties:
|
2022-09-29 23:03:28 +02:00
|
|
|
|
2023-10-21 14:48:06 +02:00
|
|
|
<ReadMore recurse />
|
2022-12-09 07:34:44 -08:00
|
|
|
|