React template compiler for locator