hunk.code_window:   // Merge the context into each transition.
     useLayoutEffect(() => {
       each(transitions, t => {
         t.ctrl.start({ default: context })
       })
     }, [context])
     const api = useMemo(() => {
  
hunk.labels: keep keep keep replace replace replace keep keep keep
hunk.after_edit:     if (hasContext)
         each(transitions, t => {
           t.ctrl.start({ default: context })
         })
  
hunk.file_path: packages/core/src/hooks/useTransition.tsx
hunk.type: replace
file: import * as THREE from 'three'
  import 'react-three-fiber'
  
  export type Primitives = keyof JSX.IntrinsicElements
  
  export const primitives = ['primitive'].concat(
    Object.keys(THREE)
      .filter(key => /^[A-Z]/.test(key))
      .map(key => key[0].toLowerCase() + key.slice(1))
  ) as Primitives[]
  