Technology Hub

Sunday, 13 October 2019

Filter and find in angular


Posted by Ranjan at 19:58 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Angular @ViewChild() error: Expected 2 arguments, but got 1

Angular 8 , ViewChild takes 2 parameters

@ViewChild(ChildDirective, {static: false}) Component
Posted by Ranjan at 11:08 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

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}
Posted by Ranjan at 11:00 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

Ranjan
View my complete profile

Blog Archive

  • ►  2020 (2)
    • ►  August (2)
  • ▼  2019 (4)
    • ▼  October (3)
      • Filter and find in angular
      • Angular @ViewChild() error: Expected 2 arguments, ...
      • React Warning: flattenChildren(…): Encountered two...
    • ►  April (1)
Travel theme. Powered by Blogger.