Why move it at all
Two sources of truth is zero sources of truth. Once the Figma library and the component library disagreed often enough, keeping both honest cost more than picking one.
What Figma still keeps
Exploration, composition, and anything that does not exist yet. The moment a component is decided, it belongs in code — and the canvas version becomes a drawing of it, not the thing itself.
Useful links from this article