react |javascript using useState to initialise the state with the props -using map function for rendering data initially vikashkrish01 Posted on June 1, 2020