od, url, response, component) {
                let state = this.currentState()

                state.storeResponse(response, component)

                let stateArray = state.toStateArray()

                // Copy over existing history state if it's an object, so we don't overwrite it.
                let fullstateObject = Object.assign(history.state || {}, { livewire: stateArray })

                let capitalize = subject => subject.charAt(0).toUpperCase() + subject.slice(1)

                store.cal