Inertia.js shared data merge precedence during nested component rendering
Inertia.js utilizes Inertia::share() to propagate global state from the server to client-side components. While this allows for seamless access to authenticated user data or flash messages, the merge strategy for shared keys can create conflicts when data is defined across different layers of the application. The current behavior suggests a shallow merge whe