const Profile = view.with({ name: (state) => state.name }).as((props) => (

Hello, {props.name}

)) const Profile2 = view.with({ name }).as((props) => (

Hello, {props.name}

))