Layout remounts on every paths

Đang mở
#148 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@rifat-ml đang làm issue này rồi.

Từ ngày 16/6/2022.

  • #149 của @rifat-ml — đã đóng, không merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

There are three types of layouts currently we've on this template:

  1. Blank Layout
  2. Sidebar Layout
  3. Header Layout

On public paths like authentication and registration, we've used the Blank Layout and for private paths, we've options to choose different layouts like Sidebar Layout and Header Layout. So whatever the layout is the same layout shouldn't be remounted on every path change. But currently, the same layout is remounting on every path change. That is an issue in some cases as the sidebar or navbar sometimes shuts and opens unexpectedly while toggling. And also it's a heavy operation on DOM to mount and unmount which is unnecessary in this situation.

Ngôn ngữ chính
TypeScript
Star
23
Fork
9
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ml-opensource/admin-panel-template-reactjs

Tất cả issue của ml-opensource/admin-panel-template-reactjs

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.