Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up #6422 #6443

Merged
merged 1 commit into from
Oct 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/source/backend/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Block transformers
Search and indexing integration
: By providing the right adapters, you can extract searchable text from blocks.

Client Reducer Content Transforms
Client reducer content transforms
: These transforms run in the client when the response from the backend is received.
These are useful when you need to modify on the fly the response from the backend, in case you need to make an amendment of the backend data, like a data migration of any kind.
These are useful when you need to modify the response from the backend on-the-fly for amending the backend data, such as a data migration of any kind.
You can register a utility that mutates the response at your convenience.

```ts
Expand All @@ -50,7 +50,7 @@ Client Reducer Content Transforms
});
```

The `type` of the utility needs to be `transform` and the dependencies set to `{reducer: 'content'}`.
The `type` of the utility needs to be `transform`, and the `dependencies` set to `{reducer: 'content'}`.

## Proxied backend routes

Expand Down
Loading