Skip to main content

Dimensions

useWindowDimensions automatically updates the width and height values when the screen is resized. You can get the width and height of the application window like this:

const windowWidth = useWindowDimensions().width
const windowHeight = useWindowDimensions().height

Example#

This is usually necessary in order to make the properties dynamic.

Payment#

Now you are on a stripped-down version of the site, after subscribing to Patreon, you will get full access to the training course, as well as access to our server's private channels in Discord.

Download our mobile application or get tested in our JavaScript telegram bot, and also subscribe to our news.

Become a Patron!

Sumerian school

Contributors โœจ#

Thanks goes to these wonderful people (emoji key):


Dmitriy Vasilev

๐Ÿ“–๐Ÿ’ฒ

Become a Patron!