javascript - What is the best approach to bring a Scroll Pagination in jQuery to React? -


i on react http://jsfiddle.net/dlcwc/1/

should use plain javascript or create component, etc?

i confused on how incorporate react thing likes:

$(document).ready(function() {     resizediv();     //scrolltocurrent(); });  $(window).scroll(function(event) { ... 

the on document ready, guess fit on componentdidmount().

but scroll event big incognita me.

any guide or tutorial know terrific. thnks


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -