Driving Pure UI Components using XState