chore: update databinding example #445
Annotations
10 errors and 2 warnings
|
example/app/(examples)/DataBinding.tsx#L33
'setBarColor' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u
|
|
example/app/(examples)/DataBinding.tsx#L35
'setCoinValue' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u
|
|
example/app/(examples)/DataBinding.tsx#L42
Replace `·r:·0,·g:·255,·b:·0,·a:·255` with `⏎····r:·0,⏎····g:·255,⏎····b:·0,⏎····a:·255,⏎·`
|
|
example/app/(examples)/DataBinding.tsx#L43
Replace `·r:·0,·g:·255,·b:·0,·a:·255` with `⏎····r:·0,⏎····g:·255,⏎····b:·0,⏎····a:·255,⏎·`
|
|
example/app/(examples)/DataBinding.tsx#L45
Delete `··`
|
|
example/app/(examples)/DataBinding.tsx#L124
Insert `⏎····`
|
|
example/app/(examples)/DataBinding.tsx#L125
Insert `··`
|
|
example/app/(examples)/DataBinding.tsx#L126
Replace `······` with `········`
|
|
example/app/(examples)/DataBinding.tsx#L127
Insert `··`
|
|
example/app/(examples)/DataBinding.tsx#L128
Replace `····` with `······`
|
|
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
|
|
src/Rive.tsx#L537
'animationName' is already declared in the upper scope on line 432 column 7
|
The logs for this run have expired and are no longer available.
Loading