Replace redundant components with updated feature flag hooks and views. Add comprehensive documentation and ESLint config for improved development workflow.

This commit is contained in:
2025-09-12 15:35:44 +02:00
parent 453b9eac7c
commit 81780ab7a9
27 changed files with 13326 additions and 260 deletions

View File

@@ -1 +1,10 @@
export { BeforeDashboardClient } from '../components/BeforeDashboardClient.js'
// Client-side hooks for React components
export {
useFeatureFlags,
useFeatureFlag,
useSpecificFeatureFlag,
useVariantSelection,
useRolloutCheck,
withFeatureFlag,
type FeatureFlag,
} from '../hooks/client.js'

View File

@@ -1,5 +1,3 @@
export { BeforeDashboardServer } from '../components/BeforeDashboardServer.js'
// Server-side hooks for React Server Components
export {
getFeatureFlag,

2
src/exports/views.ts Normal file
View File

@@ -0,0 +1,2 @@
// Custom admin views
export { FeatureFlagsView } from '../views/FeatureFlagsView.js'