aurelia / aurelia/templating

refactor: consolidate compileElement and compileSurrogate

Open
#504 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
113
Forks
101
PR merge metrics
No merged PRs in 30d

Description

https://github.com/aurelia/templating-binding/issues/56#issuecomment-264728668

* https://github.com/aurelia/templating/blob/1.1.4/src/view-compiler.js#L353
* https://github.com/aurelia/templating/blob/1.1.4/src/view-compiler.js#L223

Contributor guide

Open the contributing guide

Research direction

Start with the linked issue comment, then read compileElement and compileSurrogate in src/view-compiler.js at the referenced lines in the 1.1.4 source. Compare their responsibilities and determine how they can be consolidated. Done means the duplicate compilation paths are unified without changing the templating behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.