You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/flagsmith-integration/client-side-sdks/javascript.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,13 @@
1
1
---
2
2
title: Flagsmith JavaScript SDK
3
3
sidebar_label: JavaScript
4
-
description: Manage your Feature Flags and Remote Config in your JavaScript applications.
4
+
description: Manage your Feature Flags and Remote Config in your JavaScript Applications.
5
5
slug: /clients/javascript
6
6
---
7
7
8
-
This library can be used with pure JavaScript, React (and all other popular frameworks/libraries) and React Native
9
-
projects. The source code for the client is available on [GitHub](https://github.com/flagsmith/flagsmith-js-client).
8
+
This library can be used with pure JavaScript, React (and all other popular frameworks/libraries) and React Native projects. The source code for the client is available on [GitHub](https://github.com/flagsmith/flagsmith-js-client).
10
9
11
-
Example applications for a variety of JavaScript frameworks such as React, Vue and Angular, as well as React Native, can
12
-
be found here:
10
+
Example applications for a variety of JavaScript frameworks such as React, Vue and Angular, as well as React Native, can be found here:
|`environmentID: string`| Defines which project environment you wish to get flags for. _example ACME Project - Staging._|**YES**| null |
230
+
|`environmentID: string`| Defines which project environment you wish to get flags for. _example ACME project - Staging._|**YES**| null |
233
231
|`onChange?: (previousFlags:IFlags, params:IRetrieveInfo, loadingState:LoadingState)=> void`| Your callback function for when the flags are retrieved `(previousFlags,{isFromServer:true/false,flagsChanged: true/false, traitsChanged:true/false})=>{...}`|**YES**| null |
234
232
|`onError?: (res:{message:string}) => void`| Callback function on failure to retrieve flags. `(error)=>{...}`|| null |
235
233
|`realtime?:boolean`| Whether to listen for [Real Time Flag events](/advanced-use/real-time-flags)|| false |
Copy file name to clipboardExpand all lines: docs/docs/flagsmith-integration/integration-overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar_position: 10
6
6
7
7
Flagsmith is designed to be integrated into your applications in a variety of ways, depending on your architecture and requirements. This guide provides an overview of the different integration options available.
8
8
9
-
## Deciding between Front-end and Back-end Flags
9
+
## Deciding between Front-end and Back-end Feature Flags
10
10
11
11
One of the first decisions to make when integrating Flagsmith is whether to evaluate flags on the front-end (client-side) or back-end (server-side).
Copy file name to clipboardExpand all lines: docs/docs/flagsmith-integration/openfeature.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,11 @@ sidebar_position: 50
6
6
7
7
# OpenFeature
8
8
9
-
[OpenFeature](https://openfeature.dev/) is an open standard for feature flag management, created to support a robust
10
-
feature flag ecosystem using cloud native technologies. OpenFeature provides a unified API and SDK, and a
11
-
developer-first, cloud-native implementation, with extensibility for open source and commercial offerings.
9
+
[OpenFeature](https://openfeature.dev/) is an open standard for feature flag management, created to support a robust feature flag ecosystem using cloud native technologies. OpenFeature provides a unified API and SDK, and a developer-first, cloud-native implementation, with extensibility for open source and commercial offerings.
12
10
13
-
Flagsmith is proud to contribute to this initiative, and is a governance board member of this CNCF project. Our goal,
14
-
and that of OpenFeature, is to recommend using OpenFeature as the default SDK interface for Flagsmith projects.
11
+
Flagsmith is proud to contribute to this initiative, and is a governance board member of this CNCF project. Our goal, and that of OpenFeature, is to recommend using OpenFeature as the default SDK interface for Flagsmith projects.
15
12
16
-
OpenFeature is being actively worked on; we encourage anyone interested Feature Flags and Open Source to get involved!
13
+
OpenFeature is being actively worked on; we encourage anyone interested in feature flags and open source to get involved!
0 commit comments