please wait

  • Dilpreet Kaur Dec-26-2018 05:27:57 AM ( 4 months ago )

    After deleting a item from product list i just want to refresh the list in react js.For this i am calling my api in componentWillMount() function.But i am not able to find the updated list.Please help me out to do in react js

  • Jai Khanna Dec-26-2018 05:28:43 AM ( 4 months ago )

    Instead of calling api in componentWillMount() function you should call your api funtion inside componentDidMount() function.

Please login

Similar Discussion

Recommended For You