Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return only one field? #1989

Open
tobiasBora opened this issue May 12, 2024 · 0 comments
Open

Return only one field? #1989

tobiasBora opened this issue May 12, 2024 · 0 comments

Comments

@tobiasBora
Copy link
Contributor

If I am only interested on the field foo of an object, doing:

const firstFriend = await db.friends.get(1);

would lead to a re-render of the component each time firstFriend changes. Would it be possible to add a way to select only a subfield, such that it gets re-rendered only when firstFriend.nickname is changed for instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant