Skip to content

add basic example

add basic example #5

Triggered via push December 17, 2023 03:22
Status Failure
Total duration 1m 29s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
build-library
Process completed with exit code 1.
lint: example/src/App.tsx#L34
Argument of type 'any[]' is not assignable to parameter of type 'SetStateAction<never[]>'.
lint: example/src/App.tsx#L56
Argument of type 'any[]' is not assignable to parameter of type 'SetStateAction<never[]>'.
lint: example/src/App.tsx#L71
Property 'id' does not exist on type '{ tagline: string; }'.
lint: src/index.tsx#L134
Property 'then' does not exist on type 'never'.
lint: src/index.tsx#L137
Property 'then' does not exist on type 'never'.
lint
Process completed with exit code 2.
lint: example/src/App.tsx#L66
Inline style: { flex: 1 }
lint: example/src/App.tsx#L67
Inline style: { flex: 1, paddingTop: 10 }
lint: example/src/App.tsx#L73
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “App” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
lint: example/src/App.tsx#L73
Inline style: { height: 2 }