Skip to content

Do not load inactive tabs #297

Description

@vitonsky

We currently render all tabs content even if user cannot see it. This approach hurt the app performance when many notes is opened.

Tab content must be loaded only in case the tab was visible for user at least once.

It means technically

  • The tab is opened
  • The tab was active

So when we initialize the app and restore the workspace state, we must do not load a tab content for anything except active tab.

We can add the markers in redux state to toggle note state when user click it to load the note content.

Technically such design would allow us to implement "unload" feature for the tabs for future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXSomething important for user experienceperformance

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions