Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7129

Follow up ServerSideRender Component after Worpress 6.2

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Merged
    • Icon: Must have Must have
    • None
    • 2
    • Maintenance
    • Sprint #207, Sprint #208
    • atlas

      Summary

      Following up this text from here

      The ServerSideRender component has moved to its own package/script in WordPress 5.3 and accessing it using wp.components.ServerSideRender has been deprecated since. Starting WordPress 6.2, you should be able to access it directly 

      We're going to modify a small part of our code. Take a look into this search

      Where?

      Change all the occurrences of:

      import { ServerSideRender} from '@wordpress/components';

      to

      import ServerSideRender from '@wordpress/server-side-render';

      Requirements

      • Wordpress 6.2 already installed.

      Resources

            dtovbein Dan Tovbein
            dtovbein Dan Tovbein
            Maud Leray Maud Leray
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: