Skip to content

Commit c8b6ecb

Browse files
wobbaVesaJuvonen
authored andcommitted
Added note to use dynamic data for part communication (SharePoint#4560)
Ref discussion last week @VesaJuvonen @johnguy0. Not sure what a better title would be.
1 parent f713812 commit c8b6ecb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/spfx/web-parts/guidance/share-data-between-web-parts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ localization_priority: Priority
1111

1212
When building client-side web parts, loading data once and reusing it across different web parts helps you improve the performance of your pages and decrease the load on your network. This article describes a number of approaches that you can use to share data across multiple web parts.
1313

14+
> [!NOTE]
15+
> When developing using SPFx v1.7.0 or newer it is recommended to use the [Dynamic Data feature of the SharePoint framework for passing data and events between web parts on page](../../dynamic-data.md).
16+
1417
## Why share data between web parts
1518

1619
Often, when building web parts, a number of them are used together on one page. If you consider each web part as a standalone part of the page, you may end up in a situation where you are loading a similar or even the same set of data multiple times on the same page. This unnecessarily slows down the loading of the page and increases traffic on your network.

0 commit comments

Comments
 (0)