fondu 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/protocol.js +2 -1
- package/package.json +1 -1
package/dist/server/protocol.js
CHANGED
|
@@ -52,7 +52,8 @@ export async function render(c, component, ...[props = {}, options = {}]) {
|
|
|
52
52
|
const except = partial ? headerSet(c, 'x-inertia-partial-except') : null;
|
|
53
53
|
const reset = headerSet(c, 'x-inertia-reset') ?? new Set();
|
|
54
54
|
const heldOnce = headerSet(c, 'x-inertia-except-once-props') ?? new Set();
|
|
55
|
-
|
|
55
|
+
// shown by the next page, a partial reload too (a form with `only`), as Laravel's session does; not a prefetch
|
|
56
|
+
const carried = takeCarried(c, !isPrefetch(c));
|
|
56
57
|
const sharedProps = shared.get(c) ?? {};
|
|
57
58
|
const all = { ...sharedProps, ...props };
|
|
58
59
|
const page = {
|