replace is a boolean that determines whether the navigation should replace the current history entry or push a new one.
replace
default - false
default
API Docs