search terms are rendered using react