Skip to content

Not compatible with S.subclock #82

Open
@irisjae

Description

Hi Adam! It seems like S.subclock isn't compatible with surplus... which is a shame!

When I substituted s-js in my project for s-js/dist/withsubclocks, the signals from Surplus and the signals from S no longer belong to the same S, and so the dependency detection breaks. So, I tried several things to try fix it. First I tried Surplus.S = S, but then I found out the architecture for subclocks S is quite different from the regular S; surplus promptly complains because S doesn't have S.effect defined. Checking the source code, I assumed S.effect performs a similar function as a regular computation, so I tried adding Surplus.S.effect = S, but then performance basically dies, alas.

Hope you could help clear things up! Cheers

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions