refactor: consolidate compileElement and compileSurrogate
Open
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
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