shiny.react 0.4.0
- Upgrade React to 18.3.1:
- Replace deprecated React API. React 18 deprecates (React 19 removes)
ReactDOM.renderandReactDOM.unmountComponentAtNode.ReactDOM.createRootis used in place of those functions according to the React 19 migration guide. - Changed rendering mechanism of React components. This change is motivated by the fact that it’s impossible to call
ReactDOM.createRooton a container more than one time whileReactDOM.renderallowed that. Adata-react-idattribute is used to find and render React roots instead of iterating over all nodes with.react-dataclass.
- Replace deprecated React API. React 18 deprecates (React 19 removes)
shiny.react 0.3.0
CRAN release: 2022-12-25
- Render React asynchronously and only once Shiny is fully initialized:
-
reactOutput()can now be nested. -
ShinyProxyis no longer needed and was removed from the JavaScript API.
-
- Support rate limiting (debounce and throttle) in
InputAdapter. -
updateReactInput()now works correctly with tibbles.
shiny.react 0.2.2
-
updateReactInput()applies namespace automatically. -
updateReactInput()can be used to update components created with ButtonAdapter.
shiny.react 0.2.0
This is the first public release, with several big interface changes:
- Removed
withReact(). Components now work without it! - Removed
make_input(),make_output()andmark_as_react_tag(). Components can now be defined by combiningreactElement()andasProps(). - Removed
reactWidget()- no longer applicable / necessary. - Renamed
ShinyComponentWrappertoShinyBindingWrapperand made it internal. - Added
setInput()andtriggerEvent()helpers.