GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Recommendation field vs partial property approach · reactiveui/ReactiveUI.SourceGenerators · Discussion #337

Recommendation field vs partial property approach #337

Answered by glennawatson
martinbu asked this question in Q&A
Recommendation field vs partial property approach #337
@martinbu martinbu
Dec 4, 2025 · 1 comment
Answered by glennawatson Return to top
Discussion options
  • Uh oh!

    There was an error while loading. Please reload this page.

  • Uh oh!

    There was an error while loading. Please reload this page.

martinbu
Dec 4, 2025

There are two ways to declare reactive properties

Using a backing field with the [Reactive] attribute or using the attribute on partial properties.

Both work great, but I couldn’t find any guidance in the docs or issues about whether one approach is recommended over the other for new projects.

Question:
Do the maintainers have a preferred or future-leaning pattern between these two syntaxes? @ChrisPulman @glennawatson

You must be logged in to vote
All reactions
Answered by glennawatson Jan 3, 2026

I think it's up to you as the user. The property approach is where I would go on a new project.

View full answer

Replies: 1 comment

Comment options
  • Uh oh!

    There was an error while loading. Please reload this page.

glennawatson
Jan 3, 2026
Maintainer

I think it's up to you as the user. The property approach is where I would go on a new project.

You must be logged in to vote
All reactions
  • 👍 1
0 replies
Answer selected by martinbu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
@martinbu @glennawatson
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.