Skip to content
  • Home
  • About
  • Dev4Press

Millan's Dev Blog

  • Home
  • Index
  • Blocks
  1. 2021
  2. 10
  3. Archives for 'October 28, 2021'

Day: October 28, 2021

Server Side Rendering and Disabled component

October 28, 2021 by Milan Petrovic

There are many cases where the block rendering has to be done on the server-side and only displayed in the editor. For that purpose, the block editor has a ServerSideRender component that can pass block attributes to the server-side rendering function and display rendered HTML as is.

Categories Blocks Tags Components, ServerSideRender Leave a comment
Dev4Press - Premium plugins for your WordPress and bbPress powered website.
WP Rocket - Make WordPress Load Fast in a Few Clicks
© 2009 - 2023 Milan Petrovic · Dev4Press