I’m having a problem with Framework7 React variant. Whenever I try to use Link or straight up f7.views.main.navigate(), I get the following error
Cannot update during an existing state transition (such as within render
). Render methods should be a pure function of props and state..
I’m not doing anything weird. It’s just a simple
<Link href=""><Chip /></Link> or direct f7 method call from onClick.
When I click to the element, the view refreshes and I get the error. If I click the element again, the router shows the page but the back link is not working for some reason.
Any ideas what I might be doing wrong?