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 1313Follow these steps to run the example app:
1414
1515* 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.
1717
1818* Create a flag called ` dev-test-flag ` in your project. Make sure you
1919make 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';
55import App from '../universal/app' ;
66
77( 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' } ) ;
911
1012 render (
1113 < BrowserRouter >
Original file line number Diff line number Diff line change 1313Follow these steps to run the example app:
1414
1515* 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.
1717
1818* Create a flag called ` dev-test-flag ` in your project. Make sure you
1919make the flag available to the client-side SDK.
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ const App = () => (
2121) ;
2222
2323// 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 5656 "typescript" : " ~3.8.3"
5757 },
5858 "dependencies" : {
59- "launchdarkly-js-client-sdk" : " 2.18.0 " ,
59+ "launchdarkly-js-client-sdk" : " 2.18.1 " ,
6060 "lodash.camelcase" : " ^4.3.0" ,
6161 "uuid" : " ^3.3.2"
6262 },
You can’t perform that action at this time.
0 commit comments