Skip to content

Refactor/major deps upgrade (with SWK v2.x) - #44

Draft
aolieman wants to merge 4 commits into
developfrom
refactor/major-deps-upgrade
Draft

Refactor/major deps upgrade (with SWK v2.x)#44
aolieman wants to merge 4 commits into
developfrom
refactor/major-deps-upgrade

Conversation

@aolieman

Copy link
Copy Markdown
Member

We're stuck on some pretty old package versions. Upgrading to all latest majors confronts us with a ton of breaking changes.

I have dealt with a lot of those changes already. The most challenging is the upgrade to Stellar Wallets Kit v2.x. It has become very pushy about using the batteries-included auth modal and other UI elements. We have our fully custom UI and these conflict easily.

To get unstuck, we may need to migrate the wallet connect UI to an SWK theme. I am reluctant to make that decision. Today's draft includes a workaround that prevents hydration errors, but still has incomplete wallet connection logic. Continuing this approach will probably gives the fastest result, but it feels like a temporary solution.

The more robust solution to keep our custom UI, would be to make a "headless" config possible in SWK itself — an opt-out for all DOM mutations. This is not trivial to do in a backwards-compatible way, because the theme style is currently applied to the document container at import time.

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