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: website/docs/advanced/migration-from-launchdarkly.mdx
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -254,7 +254,7 @@ Let's see now step by step how to convert this code to ConfigCat:
254
254
```
255
255
256
256
Please note that the ConfigCat client doesn't maintain a persistent connection to the remote server, but uses different
257
-
polling strategies to get the data necessary for feature flag evaluation. Refer to the [SDK reference](../../sdk-reference/node#creating-the-configcat-client)
257
+
polling strategies to get the data necessary for feature flag evaluation. Refer to the [SDK reference](../../sdk-reference/js/overview#creating-the-configcat-client)
258
258
to learn more about the options. For frontend applications and long-running backend services, Auto Polling mode is
259
259
usually a good choice.
260
260
1. Adjust the wait-for-initialization logic.
@@ -274,7 +274,7 @@ Let's see now step by step how to convert this code to ConfigCat:
274
274
the default value you pass to them.)
275
275
276
276
Actually, you only need this wait-for-initialization logic at the startup of your applications if you want to use
277
-
[synchronous feature flag evaluation via snapshots](../../sdk-reference/node#snapshots-and-synchronous-feature-flag-evaluation).
277
+
[synchronous feature flag evaluation via snapshots](../../sdk-reference/js/overview#snapshots-and-synchronous-feature-flag-evaluation).
278
278
* For other polling modes, the wait-for-initialization logic doesn't make sense, so just omit it.
279
279
1. Rewrite LaunchDarkly contexts to ConfigCat User Objects.
280
280
@@ -283,7 +283,7 @@ Let's see now step by step how to convert this code to ConfigCat:
283
283
but it's a simpler data structure.
284
284
285
285
To be able to convert a context data structure to a User Object one, you will need to do the following:
286
-
* Read [the section on User Objects](../../sdk-reference/node#user-object) in the reference of the SDK for your
286
+
* Read [the section on User Objects](../../sdk-reference/js/overview#user-object) in the reference of the SDK for your
Copy file name to clipboardExpand all lines: website/docs/targeting/feature-flag-evaluation.mdx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,15 +42,15 @@ The result of the condition will be `cannot evaluate` in case the comparison att
42
42
43
43
Using the same User Object used to evaluate the dependent flag, the SDK evaluates the prerequisite flag (the feature flag referenced by the condition). Then, the result is checked against the comparator. In case the prerequisite flag is not a boolean setting, the result is compared to the comparison value that is set on the Dashboard. The comparison results in a `true` or `false` value. This will be the result of the condition.
44
44
45
-
In case the prerequisite flag is missing or there is a type mismatch between the return value and the comparison value, the evaluation process stops, and the SDK will return the [default value](../targeting-overview#default-value). (Though this can happen only when using the [flag overrides](../../sdk-reference/js#flag-overrides) feature with invalid data.)
45
+
In case the prerequisite flag is missing or there is a type mismatch between the return value and the comparison value, the evaluation process stops, and the SDK will return the [default value](../targeting-overview#default-value). (Though this can happen only when using the [flag overrides](../../sdk-reference/js/overview#flag-overrides) feature with invalid data.)
46
46
47
47
### Evaluation of a Segment Condition
48
48
49
49
The SDK looks up the segment referenced by the condition and evaluates the condition described by the segment similarly to [User Conditions](../targeting-rule/user-condition). Then, the result is checked against the comparator. In the case of `IS IN SEGMENT` the result of the Segment Condition will be the same as the result of the segment. The result will be negated in the case of `IS NOT IN SEGMENT`.
50
50
51
51
If the segment evaluates to `cannot evaluate`, so is the Segment Condition.
52
52
53
-
The evaluation process stops if the referenced segment is missing, and the SDK will return the [default value](../targeting-overview#default-value). (Though this can happen only when using the [flag overrides](../../sdk-reference/js#flag-overrides) feature with invalid data.)
53
+
The evaluation process stops if the referenced segment is missing, and the SDK will return the [default value](../targeting-overview#default-value). (Though this can happen only when using the [flag overrides](../../sdk-reference/js/overview#flag-overrides) feature with invalid data.)
0 commit comments