Title: Console Error: Support for defaultProps will be removed from function components
Last modified: June 24, 2026

---

# Console Error: Support for defaultProps will be removed from function components

 *  Resolved [M Rashid](https://wordpress.org/support/users/mamunur105/)
 * (@mamunur105)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/console-error-support-for-defaultprops-will-be-removed-from-function-components/)
 *     ```wp-block-code
       react-dom.js?ver=18.3.1.1:73 Warning: y: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.at y (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/componentsNew.js?ver=7befd57…:928:180)at _ (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/componentsNew.js?ver=7befd57…:928:1971)at I (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/styledComponents.js?ver=dd0ef78…:1:31564)at ns (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:501:22)at lr (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:560:25)at https://shopbuilder.local/wp-includes/js/dist/data.js?ver=1756b6a…:2353:26at WithSelect(lr) (https://shopbuilder.local/wp-includes/js/dist/compose.js?ver=edb5a8c…:887:12)at E (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:300:2776)at ur (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:561:1556)at divat Is (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:531:1374)at Slot (https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28316:7)at https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28527:7at t (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/uiLibrary.js?ver=c4865ca…:1:2323)at _e (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/styledComponents.js?ver=dd0ef78…:1:29657)at N (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:300:4291)at M (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:300:4575)at E (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:300:2776)at Gr (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:570:16667)at w (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals-contexts.js?ver=300c2a3…:1:447)at renderat PluginErrorBoundary (https://shopbuilder.local/wp-includes/js/dist/plugins.js?ver=72e3cf0…:201:7)at divat PluginArea (https://shopbuilder.local/wp-includes/js/dist/plugins.js?ver=72e3cf0…:311:5)at BlockRefsProvider (https://shopbuilder.local/wp-includes/js/dist/block-editor.js?ver=93c3566…:17958:32)at Provider (https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28542:5)at https://shopbuilder.local/wp-includes/js/dist/block-editor.js?ver=93c3566…:24134:19at WithRegistryProvider (https://shopbuilder.local/wp-includes/js/dist/block-editor.js?ver=93c3566…:23565:59)at BlockContextProvider (https://shopbuilder.local/wp-includes/js/dist/block-editor.js?ver=93c3566…:7325:35)at EntityProvider (https://shopbuilder.local/wp-includes/js/dist/core-data.js?ver=89931f9…:18468:5)at EntityProvider (https://shopbuilder.local/wp-includes/js/dist/core-data.js?ver=89931f9…:18468:5)at https://shopbuilder.local/wp-includes/js/dist/editor.js?ver=37faadb…:21138:13at https://shopbuilder.local/wp-includes/js/dist/editor.js?ver=37faadb…:13237:30at Editor (https://shopbuilder.local/wp-includes/js/dist/editor.js?ver=37faadb…:66617:15)at divat ErrorBoundary (https://shopbuilder.local/wp-includes/js/dist/editor.js?ver=37faadb…:42578:7)at SlotFillProvider (https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28475:5)at Provider (https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28542:5)at Layout (https://shopbuilder.local/wp-includes/js/dist/edit-post.js?ver=28ef50b…:2593:13)printWarning @ react-dom.js?ver=18.3.1.1:73
       ```
   
 * Screenshoot : [https://prnt.sc/_9J84BjvMs1E ](https://prnt.sc/_9J84BjvMs1E)

Viewing 1 replies (of 1 total)

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 week, 3 days ago](https://wordpress.org/support/topic/console-error-support-for-defaultprops-will-be-removed-from-function-components/#post-18947147)
 * Hello [@mamunur105](https://wordpress.org/support/users/mamunur105/),
 * Thanks for reporting this. The message shown in the browser console: `Support
   for defaultProps will be removed from function components in a future major release`
   is a React deprecation warning rather than a functional error. It is indicating
   usage of a React pattern (`defaultProps` on function components) that React plans
   to remove in a future major release.
 * If you are experiencing an editor issue in addition to the warning (for example:
   the Yoast sidebar not loading, missing analysis, editor instability, etc.), please
   share:
    - WordPress version
    - Yoast SEO version
    - Whether the Gutenberg plugin is installed
    - Whether the issue reproduces with only Yoast active
 * If there is no functional issue and this is console-only, we’ll treat it as compatibility
   feedback for future updates.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconsole-error-support-for-defaultprops-will-be-removed-from-function-components%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * Last activity: [1 week, 3 days ago](https://wordpress.org/support/topic/console-error-support-for-defaultprops-will-be-removed-from-function-components/#post-18947147)
 * Status: resolved