[fixed] Fix route transition hooks not firing when used without JSX