LivelyKernel / LivelyKernel/ContextJS

Consider making "persistent layering of methods" optional

Open
#42 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement nice-to-have
Dominant language
JavaScript
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Description

The feature implemented for #34 is useful in environments like Lively, but less so in ordinary web applications where methods are seldom or never modified. Since the additional getter call probably adds a performance overhead (which is yet to be measured...), it should be somehow configurable if that technique should be applied or not. In the latter case, the method wrapping should happen as it did before the changes to implement #34.

We could configure this behavior, for example, by adding a configure function or configuration object in the contextjs module.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the contextjs module and compare the current persistent-layering behavior with the pre-#34 method wrapping described in the issue. Measure the getter overhead, then define and document a configuration approach whose disabled behavior matches the earlier wrapping semantics.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.