Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dcc.Markdown for react 18 compatibility #3199

Open
T4rk1n opened this issue Mar 6, 2025 · 0 comments
Open

Update dcc.Markdown for react 18 compatibility #3199

T4rk1n opened this issue Mar 6, 2025 · 0 comments
Labels
feature something new P1 needed for current cycle

Comments

@T4rk1n
Copy link
Contributor

T4rk1n commented Mar 6, 2025

@T4rk1n
I just noticed that dcc.Mardown generates a warning in the console - which is weird because it's not a function component.
Warning: v: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. Error Component Stack


from dash import Dash, dcc

app=Dash()
app.layout = dcc.Markdown("I have a console warning")

if __name__ == "__main__":
    app.run(debug=True)



Originally posted by @AnnMarieW in #3148

@gvwilson gvwilson added feature something new P1 needed for current cycle labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P1 needed for current cycle
Projects
None yet
Development

No branches or pull requests

2 participants