Material-ui: Click button throws error as "Unable to find node on an unmounted component"

Created on 17 Dec 2018  路  4Comments  路  Source: mui-org/material-ui

When importing Button from material ui core and when click it throws error like "Unable to find node on an unmounted component" .

The platform i am using here is React with typescript

Versions used here is

React : 16.6.1
React-DOM : 16.6.1
@Material-UI/Core : 3.6.2

incomplete

Most helpful comment

At least error message and stack trace would help a lot.

All 4 comments

Do you have a minimal reproducible example? It would be helpful if you followed the issue template.

@joshwooding : I have taken the codes from their website itself even if i run that code in codesandbox it runs . When runs in the typescript project it throws error .

@vignesh25 It鈥檚 still hepful to provide a codesandbox, are you using the create react app typescript example?

At least error message and stack trace would help a lot.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NonameSLdev picture NonameSLdev  路  56Comments

Bessonov picture Bessonov  路  93Comments

garygrubb picture garygrubb  路  57Comments

tleunen picture tleunen  路  59Comments

darkowic picture darkowic  路  62Comments