@lukeshiru
Thanks for the suggestion,
Thanks for the feedback on nullish coalescing and yes I am trying to improve my naming conventions
The reason Why I used carouselRef is so that if the elements are of different type I can change my prop from JSX.Element[ ] to JSX.Element but still do the functionality.
Once again I really appreciate the feedback and suggestion
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
@lukeshiru Thanks for the suggestion,
Thanks for the feedback on nullish coalescing and yes I am trying to improve my naming conventions
The reason Why I used
carouselRef
is so that if the elements are of different type I can change my prop fromJSX.Element[ ]
to JSX.Element but still do the functionality.Once again I really appreciate the feedback and suggestion