Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 12, 2025

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Issue Title: Signals: Rewrite derivations to be better
Issue Description: Make it so that way derivations use a new model in which instead of being dependent on a Lifetime, they have two states, living and sleeping.

A derivation becomes Living when there are subscribers

A derivation becomes Sleeping when there is no subscribers

When a derivation goes from Living to Sleeping, it removes its subscriptions to its dependencies.

When a derivation goes from Sleeping to Living, it re-evaluates its dependencies and adds its subscriptions again.

This change will also make all derivations dynamic, instead of it being static-dependencies by default.

Although the core of this change is in @vortexjs/core, it may have wide-reaching implications throughout its codebase, as it will no longer support the dynamic prop, due to all derivations being dynamic by default.
Fixes https://linear.app/vortexjs/issue/VOR-47/signals-rewrite-derivations-to-be-better

Comment by User 4efbef8c-c27a-42ea-89d2-f351764e38ac:
Waiting for https://linear.app/vortexjs/profiles/andytk2010 to link their GitHub account. Click to authorize →

Comment by User :
This thread is for an agent session with githubcopilot.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

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.

2 participants