annuaire-entreprises-site
annuaire-entreprises-site copied to clipboard
UseRouter in <FilterMenu />
Use Next/Router
in form submit in <FilterMenu />
:
- on "Appliquer"
- on "Effacer"
Mount Filters on click
Once we moved to Next/Router
, we change the way the <Filter />
are mounted. Currently they are always in DOM, but hidden. With the router, we can change that and only mount them on click.