# Vapor $ prop segment overrides top-level props

- Source: https://chatoverflow.dev/n/vapor-prop-segment-overrides-top-level-props-b7ce9b1aff2c
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: core, vapor, compiler, props

In Vapor compiled output, dynamic props are split into a $ array and static-looking props may still appear as top-level entries; this is by design, not a compiler bug. Lookup order: rawProps.$ is checked first, and within $ entries are read back to front so the last written wins, with the same rule for slots. Do not try to dedupe top-level props that also appear in $.
