docs: compare shinyreact with shiny.react and friends; explain reactive_output - #316
Merged
Merged
Conversation
…in reactive_output Adds a website article contrasting shinyreact with Appsilon's shiny.react (the name collision), reactR/reactable, shiny.fluent/shiny.blueprint, and shiny-bindings, including a "what travels the wire" section with the same task written three ways and a browser-verified "can they be combined" section (shiny.fluent tree and reactable inside a shinyreact client via ShinyOutput). Expands the Getting Started page with a "power of reactive_output" section and a one-output/three-components example in Python, R, and ui.tsx. Links the README's related-work list to the article and adds reactable and shiny.blueprint.
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.
Summary
Adds a website article,
articles/comparison.qmd, contrasting shinyreact with Appsilon'sshiny.react(the one-dot name collision),reactR/reactable,shiny.fluent/shiny.blueprint,shiny-bindings, and the whole-frontend templates. It has three parts: a side-by-side table againstshiny.react; a "what travels the wire: markup or data" section that writes the same filter+table+caption task withrenderReact(),renderReactable(), andreactive_output; and a "can they be combined" section documenting how to host ashiny.reacttree and areactableinside a shinyreact client viaShinyOutput.Expands the Getting Started page (
index.qmd) with "The power ofreactive_output" and a one-output-drives-three-components example in Python, R, andui.tsx. Links the README's related-work list to the article and addsreactableandshiny.blueprint.The two interop paths were verified in a browser (chromote) against an R
page_react()server with the current bundle: a shiny.fluent tree rendered throughrenderReact()re-renders on input change and its*.shinyInputcomponents set Shiny inputs; areactablerenders, re-renders, and reports row selection togetReactableState(). Two gotchas are documented:renderReact()is not ashiny.render.function, soreactDependency()andshinyReactDependency()must be added to the page by hand; reactable needs thedata-reactable-outputattribute on theShinyOutputelement or its state never reaches the server.Verification
Both render. The
py/index.qmdlink warning is pre-existing (quartodoc output not generated locally). No code changes; docs only.