fix: separate template_effect for dynamic class/style directive with dynamic attributes
template_effect