Reddit API Front-End on React

Good morning everyone,

Reddit is an American social news aggregation, web content rating, and discussion website.

And it opens a cool API to engineer your own front-end.

So here comes my take on it : http://reddit.webmaestro.fr.

It basically fetches JSON data, parses image and video sources, embedded players or templated content and turns it into optimized React components. The design is minimalistic and based entirely on Semantic UI.

With iframes, video players and heavy GIFs mixing over infinite scrolling, the main idea was to mount and unmount components depending on their visibility. And it was just too easy with react-lazyload.

I had some fun setting the volume of videos in relation to their position on the viewport. It works pretty well, try it out !