react better achieve operation

1: V- text instead of {{}} binding element content, flash problems can be avoided before compiling 
(using {{}} at compile time, the page displays the MSG {} {}, then the corresponding values for the flash) 
V -text role is to update the element textContent
2: V- HTML bind the elements, but also to avoid compiling flash issue before 
innerHTML to update elements of role

 

Guess you like

Origin www.cnblogs.com/panrui1994/p/11832833.html