mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-04 00:18:40 +01:00
docs: add link to node js sdk
This commit is contained in:
parent
7acb317198
commit
92e6eef905
@ -149,7 +149,7 @@ Because you’d like to see the new color scheme while you’re developing it, y
|
|||||||
|
|
||||||
You configure an [Unleash SDK for your server](../sdks/index.md) to communicate with Unleash. When rendering the page, you check the state of the new-color-scheme feature and render a different stylesheet based on the results.
|
You configure an [Unleash SDK for your server](../sdks/index.md) to communicate with Unleash. When rendering the page, you check the state of the new-color-scheme feature and render a different stylesheet based on the results.
|
||||||
|
|
||||||
In pseudocode that might look like this:
|
In pseudocode (loosely based on the [Node.js SDK](../sdks/node.md)), that might look like this:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
if (unleash.isEnabled(“new-color-scheme”)) {
|
if (unleash.isEnabled(“new-color-scheme”)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user