javascript - Adding content to react elements -


i new react.js , have heard js library reacts badly modifies it's component structure. there specific procedure add content react elements using jquery. example, if want add content react's div field, can directly use jquery append method insert text div or there other way implement things?.

the idea either use traditional approach, or ditch jquery , use react , means using react rendering tree, build tasks, client-side router/spa.

you should not modify dom generated react components outside since maintains internal state , virtual dom become out of sync. either use 1 ecosystem or another; 2 different approaches writing website.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -