File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 13
13
Follow these steps to run the example app:
14
14
15
15
* In client/index.js, set ` clientSideID ` to your own Client-side ID. You can find
16
- this in your ld portal under Account settings / Projects.
16
+ this in your LaunchDarkly portal under Account settings / Projects.
17
17
18
18
* Create a flag called ` dev-test-flag ` in your project. Make sure you
19
19
make the flag available to the client-side SDK.
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ import { asyncWithLDProvider } from 'launchdarkly-react-client-sdk';
5
5
import App from '../universal/app' ;
6
6
7
7
( async ( ) => {
8
- const LDProvider = await asyncWithLDProvider ( { clientSideID : '59b2b2596d1a250b1c78baa4' } ) ;
8
+ // Set clientSideID to your own Client-side ID. You can find this in
9
+ // your LaunchDarkly portal under Account settings / Projects
10
+ const LDProvider = await asyncWithLDProvider ( { clientSideID : 'YOUR_CLIENT_SIDE_ID_HERE' } ) ;
9
11
10
12
render (
11
13
< BrowserRouter >
Original file line number Diff line number Diff line change 13
13
Follow these steps to run the example app:
14
14
15
15
* In app.js, set ` clientSideID ` to your own Client-side ID. You can find
16
- this in your ld portal under Account settings / Projects.
16
+ this in your LaunchDarkly portal under Account settings / Projects.
17
17
18
18
* Create a flag called ` dev-test-flag ` in your project. Make sure you
19
19
make the flag available to the client-side SDK.
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ const App = () => (
21
21
) ;
22
22
23
23
// Set clientSideID to your own Client-side ID. You can find this in
24
- // your ld portal under Account settings / Projects
25
- export default withLDProvider ( { clientSideID : '59b2b2596d1a250b1c78baa4 ' } ) ( App ) ;
24
+ // your LaunchDarkly portal under Account settings / Projects
25
+ export default withLDProvider ( { clientSideID : 'YOUR_CLIENT_SIDE_ID_HERE ' } ) ( App ) ;
Original file line number Diff line number Diff line change 56
56
"typescript" : " ~3.8.3"
57
57
},
58
58
"dependencies" : {
59
- "launchdarkly-js-client-sdk" : " 2.18.0 " ,
59
+ "launchdarkly-js-client-sdk" : " 2.18.1 " ,
60
60
"lodash.camelcase" : " ^4.3.0" ,
61
61
"uuid" : " ^3.3.2"
62
62
},
You can’t perform that action at this time.
0 commit comments