Skip to content

Conversation

sergeysova
Copy link
Member

Example:

const change = createEvent<{ first: string; second: string }>();

const firstField = createField();
const secondField = createField();

firstField.$value.on(change, (_, { first }) => first);
// Error: Method `.on` is called on store `$value` more than once for change.
secondField.$value.on(change, (_, { second }) => second);

@sergeysova sergeysova requested a review from igorkamyshev June 19, 2023 11:19
@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sergeysova sergeysova added the bug Something isn't working label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant