docs(ui-kit/react): Customization Architecture guide (DataSource decorator chain)#394
Open
swapnil-cometchat wants to merge 1 commit into
Open
docs(ui-kit/react): Customization Architecture guide (DataSource decorator chain)#394swapnil-cometchat wants to merge 1 commit into
swapnil-cometchat wants to merge 1 commit into
Conversation
…decorator chain) New advanced-customization explainer for the React UI Kit: the DataSource decorator chain (why append-not-replace), the category_type template map, and the event bus that stitches components together — the four 'stitch layers' of a working chat surface, plus a cross-platform mechanism table. Added to the React > Guides nav group. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new advanced-customization guide to the React UI Kit > Guides section: Customization Architecture: the DataSource Decorator Chain.
It explains the mental model behind UI Kit customization:
MessagesDataSource→DataSourceDecorator→ChatConfigurator) and why you append, not replace.category_typetemplate map that renders each message into a bubble (the custom-message contract).cc*UI-Kit-emitted vson*SDK pass-through) that decouples the components.Why
The decorator chain is the single most load-bearing concept for advanced customization, and the #1 source of 'my defaults disappeared' confusion (replacing instead of merging). This page gives developers the model in one place.
Notes
cometchat-uikit-reactsource).React > Guidesgroup indocs.json;docs.jsonre-validated as JSON.<Note>/<Warning>/<Tip>); all code-ish<>/{}are inside code fences/spans.🤖 Generated with Claude Code