web icon indicating copy to clipboard operation
web copied to clipboard

Move swappers into a package that excludes Redux

Open 0xApotheosis opened this issue 2 years ago • 1 comments

Overview

The crux of this ticket is effectively moving the lib/swapper directory into it's own package that does not have access to Redux.

This directory should already be decoupled, the intent of doing this is to ensure that developers do not accidentally re-introduce dependencies on Redux in the future.

References and additional details

This should mainly be a plumbing task, as most of the work to remove dependencies should already be complete.

If there are remaining, uncaught dependencies we'll want to pass the needed data into each function as args instead.

Acceptance Criteria

A new package exists inside the web monorepo, the consumption of which replaces all usages of functions inside lib/swapper.

Need By Date

No response

Screenshots/Mockups

No response

Estimated effort

No response

0xApotheosis avatar Nov 30 '23 23:11 0xApotheosis

This is leftover from the API abstraction. But we old yeller-ed the API. Ticket is still good to make sure we don't regress architecture. Need a rainy day.

twblack88 avatar May 13 '24 22:05 twblack88