Open
Conversation
Add a new documentation page at docs/guide/concepts/react-comparison.md that shows side-by-side Before (React imperative) vs After (WebUI declarative) examples covering: - Simple counter component - Conditional rendering - List rendering - Event handling - Parent-child communication via Custom Events - Styling (CSS-in-JS vs scoped CSS) - Component composition - FAST-HTML alternative syntax - Architecture comparison (SPA vs Islands) Add the page to the VitePress sidebar under Guides and link it from the README. Closes #192 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Change top heading from 'React vs WebUI' to 'React vs Web Components' - Include FAST in the opening paragraph - Remove '(recommended)' labels from WebUI Framework - Remove recommendation paragraph favoring WebUI over FAST - Refer to FAST HTML as 'FAST' throughout - Update sidebar link text and README link Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
@copilot can you update this PR to make them side by side React | WebUI, like a nice table side by side instead of Top/Down |
- Add CodeComparison.vue component with left/right named slots and configurable column labels - Register CodeComparison globally in VitePress theme - Add .comparison-wrapper CSS grid to custom.css (2-col on desktop, 1-col on mobile) - Rewrite react-comparison.md to use <CodeComparison> for all 8 comparison sections Agent-Logs-Url: https://github.com/microsoft/webui/sessions/d5ff1b11-6d95-4582-ad0b-492105b266ec Co-authored-by: mohamedmansour <68524+mohamedmansour@users.noreply.github.com>
Done in commit |
Contributor
|
@copilot some more stuff you can add:
Remember we need them to have equal functionality |
Each .comparison-col now has a tinted background matching its label color - Left (React) column: rgba(97, 218, 251, 0.05) blue tint - Right (WebUI) column: var(--accent-soft-bg) brand accent tint - Label uses negative horizontal margin to span full column width over padding - Column has border-radius and padding so tint shows around code blocks Agent-Logs-Url: https://github.com/microsoft/webui/sessions/49632ed7-bbf2-471d-8062-969a6a389055 Co-authored-by: mohamedmansour <68524+mohamedmansour@users.noreply.github.com>
mohamedmansour
approved these changes
Apr 10, 2026
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.
Add a new documentation page comparing React (imperative) patterns with their WebUI (declarative) equivalents, covering:
<if>)<for>)Also updates the sidebar config and README.
Closes #192