chore: update databinding example #445
typecheck-lint.yml
on: push
typecheck-and-lint
42s
Annotations
10 errors and 2 warnings
|
typecheck-and-lint:
example/app/(examples)/DataBinding.tsx#L33
'setBarColor' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u
|
|
typecheck-and-lint:
example/app/(examples)/DataBinding.tsx#L35
'setCoinValue' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u
|
|
typecheck-and-lint:
example/app/(examples)/DataBinding.tsx#L42
Replace `·r:·0,·g:·255,·b:·0,·a:·255` with `⏎····r:·0,⏎····g:·255,⏎····b:·0,⏎····a:·255,⏎·`
|
|
typecheck-and-lint:
example/app/(examples)/DataBinding.tsx#L43
Replace `·r:·0,·g:·255,·b:·0,·a:·255` with `⏎····r:·0,⏎····g:·255,⏎····b:·0,⏎····a:·255,⏎·`
|
|
|
|
|
|
|
|
typecheck-and-lint:
example/app/(examples)/DataBinding.tsx#L126
Replace `······` with `········`
|
|
|
|
typecheck-and-lint:
example/app/(examples)/DataBinding.tsx#L128
Replace `····` with `······`
|
|
typecheck-and-lint:
example/app/(examples)/DataBinding.tsx#L68
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 “DataBinding” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
|
typecheck-and-lint:
src/Rive.tsx#L537
'animationName' is already declared in the upper scope on line 432 column 7
|