export const AppFeatureFlags = {
  TEMP: 'TEMP' // special feature flag that should wrap all WIP code
  // TODO - add more features as you need 
};

export const getFeatureFlags = () => {
  if (process.env.NODE_ENV === 'development') {
    return [AppFeatureFlags.TEMP];
  }

  return [];
};


const Providers = ({ children }) => {
  const features = useMemo(() => getFeatureFlags(), []);
  return (
    <FeatureFlagContext.Provider value={features}>
      {children}
    </FeatureFlagContext.Provider>
  )
}