apply reactive before insert into dom