Skip to content

Commit

Permalink
fix: ignore observing owner property in view
Browse files Browse the repository at this point in the history
  • Loading branch information
prevwong committed Jun 25, 2023
1 parent fc80ffe commit e4ee083
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/tricky-panthers-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rekajs/core': patch
---

Ignore observing owner property in output View
5 changes: 1 addition & 4 deletions packages/core/src/evaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,13 @@ export class Evaluator {
},
types: {
View: {
exclude: ['template'],
exclude: ['template', 'owner'],
diff: (a, b) => {
if (a.key !== b.key) {
return b;
}
},
},
TagView: {
exclude: ['owner'],
},
ComponentView: {
exclude: ['component'],
},
Expand Down

1 comment on commit e4ee083

@vercel
Copy link

@vercel vercel bot commented on e4ee083 Jun 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

reka – ./

reka-prevwong.vercel.app
reka.js.org
reka-git-main-prevwong.vercel.app
rekajs.vercel.app

Please sign in to comment.