AmazeeLabs / silverback-mono

Silverback Monorepo. Central hub for our open source packages and tooling.
https://silverback.netlify.app
8 stars 7 forks source link

fix(bridge-gatsby): trigger a render on search params load #1515

Open HagerDakroury opened 5 months ago

HagerDakroury commented 5 months ago

Package(s) involved

@amazeelabs/bridge-gatsby

Description of changes

Motivation and context

A common bug on PAR that got partially fixed when using react-hook-form but wasn't completely solved expect by doing a Two pass render similar to the one implemented here. The issue is also reproducible in a new project using SLB. More on PAR issue

Some resources:

Related Issue(s)

How has this been tested?

Manually with a new frontend project with SLB as a starter