As per the LC documentation and answers to the below questions:
It's clear that,DOM manipulation should be done
afterRender,which makes sense.
But if i were to use 3rd party libraries(like charts,fullcalendar,jquery...) ,then they are not available when the
afterRender is called,which really a problem.So only the way to make sure the libraries are available,before i could use them in the
helper is using
So which implies ,the code is doing DOM manipulation outside the renderer which conflicts with above answers and the docs.
So My question is,
1.Is there's a way ,to do the DOM manipulation using 3rd party libraries in
Renderer.if so how can i make sure libraries are available in
2.Is it okay,to do the above in
I really need a clarification on the above,so that i can properly follow the best practices in LC.