load page to fetch data?

Write your response…

What i did to solve this is to do a check on componentDidLoad function and check if the props.item is empty or not. If it is then i am fetching from server!

Write a reply...

Join a friendly and inclusive Q&A network for coders

  • 🖥Pick the technologies you like & read great content through your feed.
  • 💬Ask a question when you want to learn more about anything.
  • 🚀Share what you know & build your portfolio.
Sign up nowLearn more

loading ...