KJ

Results 6 comments of KJ

try updating the offset of the endpoints and repainting the element after the drag-stop event

try updating the offset of the endpoints and repainting the element after the drag-stop event

@m-s4n Hey, I tried doing the same and couldn't find any re-renders. I checked it by adding a simple counter near bootstrap. How were you able to deduce that it's...

Got it. Something like this would work - have a containerDiv ref near the switch [or which ever container div you intend the sub-app to load into] ``` export default...

Cleaner solution - ``` function useReactMicroFEApp ({ history, mount, additional }) { const mountDivRef = useRef(null); const thisRef = useRef({ mountDiv: null }); // as ref on an element looses...