Skip to content

Commit 71aec57

Browse files
committed
Simplify abstract, move map/object later
1 parent f8e5033 commit 71aec57

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

articles/azure-app-configuration/enable-dynamic-configuration-javascript.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ ms.author: yanzh
1414
---
1515
# Tutorial: Use dynamic configuration in JavaScript
1616

17-
Data from App Configuration can be loaded and consumed as a Map or an object.
18-
For more information, see the [quickstart](./quickstart-javascript-provider.md).
19-
The Azure App Configuration JavaScript provider supports caching and refreshing configuration dynamically without app restart.
20-
This tutorial shows how to enable dynamic configuration in JavaScript applications.
21-
22-
In this tutorial, you learn how to set up your JavaScript app to update its configuration in response to changes in an App Configuration store.
17+
In this tutorial, you learn how to enable dynamic configuration in your JavaScript applications.
18+
The example in this tutorial builds on the sample application introduced in the JavaScript quickstart.
19+
Before you continue, finish [Create a JavaScript app with Azure App Configuration](./quickstart-javascript-provider.md).
2320

2421
## Prerequisites
2522

@@ -40,10 +37,9 @@ Add the following key-value to your Azure App Configuration store. For more info
4037
## Reload data from App Configuration
4138

4239
The following examples show how to use refreshable configuration values in console applications.
43-
The refresh behavior is configured by `refreshOptions` parameter when calling `load` function.
44-
The loaded configuration is updated when a change is detected on the server.
40+
Choose the following instructions based on how your application consumes configuration data loaded from App Configuration, either as a `Map` or a configuration object.
4541

46-
1. Open the file *app.js* and update the `load` function. Add a `refreshOptions` parameter to enable the refresh and configure refresh options. By default, a refresh interval of 30 seconds is used, but you can override it with the `refreshIntervalInMs` property.
42+
1. Open the file *app.js* and update the `load` function. Add a `refreshOptions` parameter to enable the refresh and configure refresh options. The loaded configuration will be updated when a change is detected on the server. By default, a refresh interval of 30 seconds is used, but you can override it with the `refreshIntervalInMs` property.
4743

4844
### [Use configuration as Map](#tab/configuration-map)
4945

0 commit comments

Comments
 (0)