The history module used
According to documentation
import createHistory from 'history/createBrowserHistory'
const history = createHistory()
const location = history.location
history.push('/home', { some: 'state' })
Then the whole computer’s CPU will spin very fast, and the browser will freeze. Please find a solution
Check if there is an infinite loop