react-singleton-hook icon indicating copy to clipboard operation
react-singleton-hook copied to clipboard

Please mount SingletonHooksContainer waring

Open Rossella-Mascia-Neosyn opened this issue 1 year ago • 4 comments

Can not mount SingletonHooksContainer with react native.Please mount SingletonHooksContainer into your components tree manually. 
    at VideoPlayer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.example&modulesOnly=false&runModule=true:123441:22)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.example&modulesOnly=false&runModule=true:59610:43)
    at App
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.example&modulesOnly=false&runModule=true:59610:43)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.example&modulesOnly=false&runModule=true:59610:43)
    at AppContainer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.example&modulesOnly=false&runModule=true:59454:36)
    at example(RootComponent) (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.example&modulesOnly=false&runModule=true:108811:28)

I have this waring but i don't know why

i use React Native 0.72.4

System:
  OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
  CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
  Memory: 5.07 GB / 15.32 GB
  Shell:
    version: 5.8.1
    path: /usr/bin/zsh
Binaries:
  Node:
    version: 18.17.0
    path: ~/.nvm/versions/node/v18.17.0/bin/node
  Yarn:
    version: 1.22.19
    path: ~/.nvm/versions/node/v18.17.0/bin/yarn
  npm:
    version: 9.6.7
    path: ~/.nvm/versions/node/v18.17.0/bin/npm
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
IDEs:
  Android Studio: AI-223.8836.35.2231.10671973
Languages:
  Java:
    version: 11.0.20.1
    path: /usr/bin/javac
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.4
    wanted: 0.72.4
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Rossella-Mascia-Neosyn avatar Sep 01 '23 17:09 Rossella-Mascia-Neosyn

Did you read the relevant section in the readme?

Etheryte avatar Jan 22 '24 22:01 Etheryte

hey @Rossella-Mascia-Neosyn! Did you find any workaround for this? I am facing the same issue even though I am manually mounting the <SingletonHooksContainer /> as mentioned in the docs. Everything seems to work but can't get rid of the warning

muhammadarsal avatar May 21 '24 20:05 muhammadarsal

Did you read the relevant section in the readme?

I have already read

Rossella-Mascia-Neosyn avatar May 23 '24 07:05 Rossella-Mascia-Neosyn

hey @Rossella-Mascia-Neosyn! Did you find any workaround for this? I am facing the same issue even though I am manually mounting the <SingletonHooksContainer /> as mentioned in the docs. Everything seems to work but can't get rid of the warning

unfortunately I continue to receive the warning

Rossella-Mascia-Neosyn avatar May 23 '24 07:05 Rossella-Mascia-Neosyn