1.1.0 • Published 10 months ago
@atono-io/react-sdk v1.1.0
Atono React SDK
Quick start
Requirements
- ES2022-compatible web browser (Chrome, Edge, Firefox, etc)
Install
npm install --save @atono-io/react-sdkUsage
import {AtonoProvider, useFeatureFlag} from '@atono-io/react-sdk';
function ChildComponent() {
const isAmazingFeatureEnabled = useFeatureFlag()
.getBooleanValue('amazing_feature_enabled', false);
return isAmazingFeatureEnabled
? <div>Amazing feature is not available 🙅</div>
: <div>Amazing feature is enabled 😎</div>;
}
function RootComponent() {
return <AtonoProvider environmentKey='<your-environment-key>'>
<ChildComponent />
</AtonoProvider>;
}1.1.0
10 months ago
1.1.0-rc.2
10 months ago
1.1.0-rc.1
10 months ago
1.0.2
11 months ago
1.0.2-rc.5
11 months ago
1.0.2-rc.4
11 months ago
1.0.2-rc.2
11 months ago
1.0.2-rc.1
11 months ago
1.0.1
12 months ago
1.0.0
1 year ago
0.6.18
1 year ago
0.6.15
1 year ago
0.6.12
1 year ago
0.6.10
1 year ago
0.6.9
1 year ago
0.6.8
1 year ago
0.6.7
1 year ago
0.6.6
1 year ago