Convert textvars to react