ReviewOS

also looking at this

stacks/stx

fix(stx): resolve project components from nested views + apply defineProps defaults in SSR

#1729
Merged chris wants to merge fix/ssr-component-resolution-and-defineprops-defaults into main
2 files +155 -0

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

packages/stx/src/types/config-types.tsmodified+10-0
Changes to packages/stx/src/types/config-types.ts
@@ -709,6 +709,11 @@ export interface StxConfig {
709709 enabled?: boolean
710710 container?: string
711711 linkSelector?: string
712 /**
713 * Intercept every in-app `<a>` for client-side navigation rather than
714 * only those matching `linkSelector`. Default: false.
715 */
716 interceptAllLinks?: boolean
712717 viewTransitions?: boolean
713718 /**
714719 * Duration of the default View Transitions fade, in milliseconds.
@@ -727,6 +732,11 @@ export interface StxConfig {
727732 cacheTTL?: number
728733 skipSelectors?: string
729734 viewTransitionCSS?: Record<string, string>
735 /**
736 * Show the top loading/progress bar during client-side navigation.
737 * Default: true.
738 */
739 progress?: boolean
730740 /**
731741 * Progress-bar color (hex, rgb, css var, etc.). Default: '#78dce8'.
732742 */