          <button @click="baz++">inc</button>

                baz: <span x-text="baz"></span>
            </div>
        </template>
    </div> -->

    <script>
        window.historyStateManager = {
            replaceState(url, response, component) {
                this.updateState('replaceState', url, response, component)
            },

            pushState(url, response, component) {
                this.updateState('pushState', url, response, component)
            },

            updateState(meth