Skip to content

When using @layout in pages the layout is unnecessarily rerendered between route changes #152

@luckyluggi

Description

@luckyluggi

Bug Report

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version?
  • Did you perform a search in the issues?

Description

When using @layout in page components the layout is rerendered when a user switches between pages using the same layout.

Steps to Reproduce

i have created a demo project here:
https://github.com/luckyluggi/piral_blazor_layout_reload

Expected behavior

It would be great if the layout would not be reloaded and just the page content would be updated.
I think this would significantly improve the user experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions