aurelia / aurelia/templating

cleanup: replace oneWay with toView

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

Description

We should standardize the internals on `toView` now that it has landed. Here's one instance, probably others...

https://github.com/aurelia/templating/blob/3d40e1d4318ecd73ddc978fb2343785053f57431/src/bindable-property.js#L47

We still need to support `oneWay` but the internals should use `toView` where possible.

related to https://github.com/aurelia/binding/issues/629 and https://github.com/aurelia/templating-binding/issues/118

Contributor guide

Open the contributing guide

Research direction

Start in src/bindable-property.js at the linked line and inspect nearby uses of oneWay to find which internal references can use toView instead. Read the related binding and templating-binding issues for context, then confirm that oneWay remains supported while the internals are standardized where appropriate.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.