Check out example codes for "SFML window". It will help you in understanding the concepts better.

Code Example 1

sf::RenderWindow window(sf::VideoMode(900,900),"My window");
//VideoMode is an object who tell to the window which size take

Learn ReactJs, React Native from akashmittal.com