Skip to content

Memory leak with dynamic styles #1360

@qhxin

Description

@qhxin

Expected behavior:
My APP must render very frequently by our realtime data.

Describe the bug:
My APP has memory leak on Firefox, after using material-ui.
This is the same issue in material-ui mui/material-ui#21528

Codesandbox link:
https://codesandbox.io/s/dazzling-visvesvaraya-eczqe?file=/src/Tab.js

Versions (please complete the following information):

  • jss: "^10.0.3"
  • Browser [e.g. chrome, safari]: firefox
  • OS [e.g. Windows, macOS]: macOS
    Feel free to add any additional versions which you may think are relevant to the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt went crazy and killed everyone.complexity:highBest brains need to talk about it.help wantedperf

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions