<script>
	export let x = 'waiting';

	let state;
	$: state = x;
</script>

<span>{state}</span>