Web API, Resize Observer in React with a Custom Hook

preview_player
Показать описание
#shorts

The Web API in your browser is powerful. This video shows a simple example of using the ResizeObserver to track the size of an element in javascript! The example is using React but this applies anywhere since it's part of the Web API.

Web API Link:
Рекомендации по теме