Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Naming must be right for concepts to be properly conveyed! But naming things is hard! And for the Reactive Contexts Proposal, the choice of conventions for a new approach to reactivity is an especially delicate area; every convention now already means something across the countless different approaches to the subject!

So far, we've made a few iterations...

  1. We had called this the Subscript Functions Proposal, but for many with a React, SolidJS, Vue, (and similar) background, Subscript Functions tended to equate to a useEffect()/createEffect()/watchEffect() callback. But since the whole idea of Subscript Functions is rather about an entire reactive context, a more descriptive name clicked: Reactive Contexts.

Now, we're thinking further...

  1. We currently use the double star function (function** fn() {}) syntax for Subscript Functions, but early feedback had pointed to possible cognitive glitch with Generator Functions (function* fn() {}).
  2. We currently call Subscript's reactivity API .thread(), but it seems we can do better, if we'd just think further 🤨.

Comments are open for thoughtful inputs.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.