diff options
author | dan <dan.abramov@gmail.com> | 2024-03-06 05:55:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 05:55:34 +0000 |
commit | eb298d2e60a0ddf26ebaf8f27373418bbf7769e3 (patch) | |
tree | 223bdfdeae951ccbda10c2a47eda0794191c4df0 /src/lib/statsig/statsig.tsx | |
parent | 26fc0cf66d0cde33e8105495785a1ce4248fb9f7 (diff) | |
download | voidsky-eb298d2e60a0ddf26ebaf8f27373418bbf7769e3.tar.zst |
Initial feature gating and A/B testing integration (#3122)
* Add statsig dependency * Add SDK provider * Move to separate file, add tier and hashing * Disable local storage for now * Add initial gate testing fixture * Fork for web just in case * More WIP * wip * Rm test gate * Add shim on native * Clarify
Diffstat (limited to 'src/lib/statsig/statsig.tsx')
-rw-r--r-- | src/lib/statsig/statsig.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/statsig/statsig.tsx b/src/lib/statsig/statsig.tsx new file mode 100644 index 000000000..88a57c3fc --- /dev/null +++ b/src/lib/statsig/statsig.tsx @@ -0,0 +1,11 @@ +import React from 'react' + +export function useGate(_gateName: string) { + // Not enabled for native yet. + return false +} + +export function Provider({children}: {children: React.ReactNode}) { + // Not enabled for native yet. + return children +} |