Added infinite scrolling for twitter tweets with virtualization of DOM elements
Added new config option to change the limit of results per request for tweets.
Hide pay contact button when config is disabled
Pull Request Checklist:
[✓] Have you followed the guidelines in our Contributing document and Code of Conduct?
[✓] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[✓] Have you built and tested NPWD in-game after the relevant change?
Concept of infinite scrolling while limiting the DOM elements to just what is in the view.. it will only render new DOM elements when the user scrolls up and down while culling elements out of view to keep the performance impact low of having too many DOM elements.
Could likely apply this method to messages in the future and remove the need for the "react-infinite-scroll-component" package which I think is still being used messages
Pull Request Description
Pull Request Checklist:
Concept of infinite scrolling while limiting the DOM elements to just what is in the view.. it will only render new DOM elements when the user scrolls up and down while culling elements out of view to keep the performance impact low of having too many DOM elements.
https://gyazo.com/e39b5b284f605e5c89f34147983954d3
Could likely apply this method to messages in the future and remove the need for the "react-infinite-scroll-component" package which I think is still being used messages