Sunday, 13 October 2019
Angular @ViewChild() error: Expected 2 arguments, but got 1
Angular 8 , ViewChild takes 2 parameters
@ViewChild(ChildDirective, {static: false}) Component
React Warning: flattenChildren(…): Encountered two children with the same key
Its issue with map.
Add index with some constant value rather than using
key={value.name + value.description}
key={'some-constant-value'+index}
Subscribe to:
Posts (Atom)