Skip to content

refactor: make shiny-showcase.ts jQuery-optional with native JS fallbacks#4370

Draft
karangattu wants to merge 2 commits intomainfrom
remove-jquery-shinyjs
Draft

refactor: make shiny-showcase.ts jQuery-optional with native JS fallbacks#4370
karangattu wants to merge 2 commits intomainfrom
remove-jquery-shinyjs

Conversation

@karangattu
Copy link
Copy Markdown
Contributor

Summary

Makes shiny-showcase.ts work with or without jQuery. When jQuery is present on the page, behavior is identical to today. When it isn't, native browser APIs are used instead. This enables gradual decoupling from jQuery without any breaking changes.

Why

This is a step toward reducing Shiny's dependency on jQuery. By making the showcase JS jQuery-optional rather than removing jQuery outright, existing apps with jQuery continue to work exactly as before, while apps that don't load jQuery also work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant