availity-reactstrap-validation
availity-reactstrap-validation copied to clipboard
Render loop with Gatsby
Hello !
I'm using Availity Reactstrap Validation on a Gatbsy project for multiples forms. Unfortunately i encounter a strange issue when I go to a page that contains a form. The page and the whole layout is re-rendered many times and I don't know why. Moreover, the number of renderings is totally random. There can be 5 renderings like 50
I'm using custom forms built from the WordPress REST API, but I encounter the same issue with the default example form from the docs. I tried to remove all other dependencies and functionalities but the problem is still the same (I'm using Gatsby V.2)
Has anyone encountered the same problem or have any idea where it can come from? I can provide additional info if needed
Since the underlying library is using the legacy context api. There are a few re-renders that do occur when any update to the input is happening.
Possbile duplicate of #14