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.
@@ -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
- const carried = takeCarried(c, !partial && !isPrefetch(c));
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 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fondu",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "A small meta-framework for full-stack React apps, built on Hono, Vite and Inertia. It runs on Bun, Cloudflare Workers and Node.",
5
5
  "keywords": [
6
6
  "bun",