# Motion Source Map ## Purpose Map Solid adapter responsibilities to Motion runtime concepts and classify reuse risk. ## Reuse Tiers ### Stable Direct Reuse - `animate()` - `motionValue()` - `styleEffect()` - `frame` scheduling primitives ### Conditional Reuse (Guarded) - `attrEffect()` (alpha-labeled in docs) - fallback required: imperative attribute writer path ### Avoid By Default - Private React-specific internals and assumptions tied to React lifecycle/render contracts. ## Solid Adapter Responsibility Map - create motion component factory -> React motion component factory equivalent intent - prop tracking and target resolution -> VisualElement-style prop lifecycle responsibility - style rendering -> `styleEffect` / motion value style pipeline - attribute rendering -> `attrEffect` guarded by fallback - presence bridge -> AnimatePresence-like retention semantics adapted for Solid control flow - layout bridge -> Projection-style measurement orchestration adapted to Solid timing ## React-Specific Assumptions To Replace - component rerender-driven update assumptions - React tree retention behavior for exits - React-specific context and lifecycle timing dependencies ## Milestone 0 Deliverable Produce concrete keep/adapt/avoid decisions before Milestone 1 promotion.