Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Reimplementing tansu with signal-polyfill #133

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

divdavem
Copy link
Member

@divdavem divdavem commented Jun 6, 2024

This PR is an experimental new implementation of tansu based on signal-polyfill. It is still a work-in-progress.

The long-term goal is to increase interoperability with other signal libraries, so that it is possible, for example, to have a tansu store directly interpreted as reactive in an Angular computed, without having to first convert it to an Angular signal.

This PR currently relies on a modified version of signal-polyfill with the following fixes I suggested:

This PR removes support for the pauseSubscribers and resumeSubscribers methods of the Store class, but otherwise tries to be as much as possible compatible with the current tansu implementation.

@divdavem divdavem force-pushed the signalPolyfillExperiment branch from 2c270ff to 66ce4d0 Compare September 19, 2024 14:53
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