I am building a over lay mechanism for Reactjs and using Jquery in Reactjs is like smashing your thumb with a hammer. You don't do it.
So I have these two function in jquery which are super helpful
window.jQuery(DOMNode).offset();
window.jQuery(elem).position();
I have looked every where for the javascript equivalents. I have even looked at their implementation details but alas I do not want to our right copy that because well that would be the same as just using the functions them selves.
Does any one know of any functions that would get me the same or similar return values of these functions?