Skip to content

Releases: Appsilon/shiny.react

v0.4.0

20 May 15:07
7191bec
Compare
Choose a tag to compare
  • Upgrade React to 18.3.1:
    • Replace deprecated React API. React 18 deprecates (React 19 removes) ReactDOM.render and ReactDOM.unmountComponentAtNode. ReactDOM.createRoot is 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.createRoot on a container more than one time while ReactDOM.render allowed that. A data-react-id attribute is used to find and render React roots instead of iterating over all nodes with .react-data class.

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

11 Oct 12:03
Compare
Choose a tag to compare
  1. Render React asynchronously and only once Shiny is fully initialized:
    • reactOutput() can now be nested.
    • ShinyProxy is no longer needed and was removed from the JavaScript API.
  2. Support rate limiting (debounce and throttle) in InputAdapter.
  3. updateReactInput() now works correctly with tibbles.

v0.3.0-rc.2

22 Dec 15:21
Compare
Choose a tag to compare
v0.3.0-rc.2 Pre-release
Pre-release
docs: Use mailto link in README

v0.3.0-rc.1

22 Dec 12:43
75189fc
Compare
Choose a tag to compare
v0.3.0-rc.1 Pre-release
Pre-release
Merge pull request #58 from Appsilon/release-0.3.0

Release 0.3.0

v0.2.3

25 Aug 14:25
0443c70
Compare
Choose a tag to compare

Improved documentation, including a tutorial vignette.

v0.2.2

25 Aug 14:23
ebbfbf0
Compare
Choose a tag to compare
  • updateReactInput() applies namespace automatically.
  • updateReactInput() can be used to update components created with ButtonAdapter.

v0.2.1

25 May 04:46
Compare
Choose a tag to compare

Minor changes for CRAN resubmission.

v0.2.0

17 May 09:57
Compare
Choose a tag to compare

This is the first public release, with several big interface changes:

  • Removed withReact(). Components now work without it!
  • Removed make_input(), make_output() and mark_as_react_tag().
    Components can now be defined by combining reactElement() and asProps().
  • Removed reactWidget() - no longer applicable / necessary.
  • Renamed ShinyComponentWrapper to ShinyBindingWrapper and made it internal.
  • Added setInput() and triggerEvent() helpers.