We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a7a05ba + 9d9e047 commit daa802aCopy full SHA for daa802a
packages/reframed/src/reframed.ts
@@ -418,6 +418,13 @@ const originalHistoryFns = new Map();
418
}
419
};
420
},
421
+ // QwikCity tries to monkey-patch `pushState` and `replaceState`
422
+ // which results in a runtime error:
423
+ // TypeError: Cannot set property pushState of #<History> which only has a getter
424
+ // so we need to add a no-op setter.
425
+ // TODO: come up with a better workaround that doesn't break Qwik.
426
+ // https://github.com/QwikDev/qwik/blob/3c5e5a7614c3f64cbf89f1304dd59609053eddf0/packages/qwik-city/runtime/src/spa-init.ts#L127-L135
427
+ set: () => {},
428
});
429
430
0 commit comments