message: feat: provider optimisation fixed
diff: -import React from 'react';
  +import React, { useState } from 'react';
  import { Platform } from 'react-native';
  import { HybridContext } from './Context';
  import { useModeManager } from './../color-mode/hooks';
  @@ -30,6 +30,16 @@ const HybridProvider = ({
  isTextColorAccessible
  );
  + const [contextValue] = useState({
  + colorMode: {
  + colorMode,
  + toggleColorMode,
  + setColorMode,
  + accessibleColors,
  + setAccessibleColors,
  + },
  + });
  +
  React.useEffect(() => {
  let escapeKeyListener: any = null;
  @@ -53,17 +63,7 @@ const HybridProvider = ({
  }, []);
  return (
  - <HybridContext.Provider
  - value={{
  - colorMode: {
  - colorMode,
  - toggleColorMode,
  - setColorMode,
  - accessibleColors,
  - setAccessibleColors,
  - },
  - }}
  - >
  + <HybridContext.Provider value={contextValue}>
  {children}
  </HybridContext.Provider>
  );
  