Skip to content

useRenderCount and IpcWebView #198

useRenderCount and IpcWebView

useRenderCount and IpcWebView #198

Triggered via pull request November 26, 2024 05:48
@trajanotrajano
synchronize #19
some-ideas
Status Success
Total duration 16m 37s
Artifacts

build.yml

on: pull_request
Matrix: prebuild
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
build: packages/react-native-ipc-web/src/IpcWeb.tsx#L96
The 'ipcWebViewReadyPromise' object construction makes the dependencies of useMemo Hook (at line 135) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'ipcWebViewReadyPromise' in its own useMemo() Hook
build: packages/react-native-ipc-web/src/IpcWeb.tsx#L102
React Hook useCallback has a missing dependency: 'resolveIpcWebViewReady'. Either include it or remove the dependency array
build: packages/react-native-ipc-web/src/IpcWeb.tsx#L107
React Hook useCallback has a missing dependency: 'rejectIpcWebViewReady'. Either include it or remove the dependency array
build: packages/react-native-ipc-web/src/IpcWeb.tsx#L122
React Hook useMemo has missing dependencies: 'ipcOnError' and 'ipcOnLoad'. Either include them or remove the dependency array
build: packages/react-native-ipc-web/src/IpcWebView.tsx#L44
Component definition is missing display name
prebuild (android)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/