Kishan Jasani

Code, Creativity & Everything I Learn

Category: React

  • What are the useDispatch and useSelect?

    The useDispatch and useSelect are Custom React Hooks that enable a more declarative interface to registered stores in the registery These hooks are available in the @wordpress/data package. useSelect and useDispatch are, custom hooks…

    Continue Reading

  • How wp.blocks.parse() works?

    Basically we will talk about wp.blocks.parse! wp.data.select(‘core/editor’).getEditedPostContent(); is used to get the value by HTML comments from the editor. Let’s create a new post by going into wp-admin. Now use…

    Continue Reading

  • How the Gutenberg Editor reconstructed from plain HTML

    Let’s understand how Gutenberg Editor reconstructed from plain html which is stored in database. Firstly, whenever we load post in a block editor page. We load a html post content…

    Continue Reading