Skip to content

Use hooks, support React 18, drop React < 16 #373

Use hooks, support React 18, drop React < 16

Use hooks, support React 18, drop React < 16 #373

Triggered via pull request June 30, 2024 12:05
@goto-bus-stopgoto-bus-stop
synchronize #196
hooks
Status Failure
Total duration 1m 11s
Artifacts

ci.yml

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

Annotations

5 errors and 3 warnings
Code style: .eslintrc.js#L1
'module' is not defined
Code style: src/index.js#L319
'process' is not defined
Code style: test/.eslintrc.js#L1
'module' is not defined
Code style
Process completed with exit code 1.
Tests (14.x, 16.0.0)
Process completed with exit code 12.
Code style: src/index.js#L35
React Hook useEffect has missing dependencies: 'container' and 'options'. Either include them or remove the dependency array
Code style: src/index.js#L50
React Hook useEffect has a missing dependency: 'callback'. Either include it or remove the dependency array. If 'callback' changes too often, find the parent component that defines it and wrap that definition in useCallback
Code style: src/index.js#L50
React Hook useEffect has a spread element in its dependency array. This means we can't statically verify whether you've passed the correct dependencies