Skip to content

Commit

Permalink
Merge pull request #153 from 10up/psorensen-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy authored Jan 22, 2024
2 parents ae03375 + 39fa341 commit 108a9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/03-Blocks/block-transforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This is super useful to allow editors to quickly switch between different types

## When to use Block Transforms

In theory most blocks should have block transformations defined. They make the live of the editors much easier. With the ability to transform one block into another one this can also be leveraged in order to not build overly complex blocks with too many options. Instead it is often easier and faster to build two separate blocks and allow the user to transform between them.
In theory most blocks should have block transformations defined. They make the lives of the editors much easier. With the ability to transform one block into another one this can also be leveraged in order to not build overly complex blocks with too many options. Instead it is often easier and faster to build two separate blocks and allow the user to transform between them.

Finally one more use-case is using the transforms in order to add a controlled update path for users. Let's imagine you have a project where you build a block two different blocks that work in slightly different ways. Further down the line in the project you find that the client now has new requirements that make these two blocks obsolete. Instead they want to replace the two blocks with one that can solve for both use-cases at the same time.

Expand Down

1 comment on commit 108a9a0

@vercel
Copy link

@vercel vercel bot commented on 108a9a0 Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.