stringifyand the array of processors of
wp-sourcepackage, we have a library called
stringifywhich is used to create a route from the params you pass to it. This won't change the state, but it is reusable logic that has proven really useful.
stringifyis defined inside
wp-sourcepackage, it could also be use by your own theme.
<img>tag, it transforms it to an
<Image />component with some props and functionalities added to it.
<blockquote>and transforms it into a new
<Blockquote />component with your own logic.