• useRoute

    You can fetch information about the current Route from the useRoute hook. const { path, pageKey }...

  • Hover hook

    To make it easier to check whether an element is hovered or not, import hook from "Vev" library a...

  • Interval hook

    To make it easy to update your components on a given interval, like an automatic slideshow or a t...

  • Size hook

    To detect when your element resizes, use the useSize hook in the "Vev" package. The hook utilizes...

  • Introduction to Hooks

      Hooks are a new addition in React 16.8. They let you use state and other React features withou...

  • Visibility hooks

    We have implemented two hooks to use for detecting when a DOM element is visible, useIntersection...

  • Editor state hook

    Some add-ons and widgets need to change their look or state when the designer goes into edit mode...

  • Request animation frame hook

    requestAnimationFrame is a great tool to create cool effects, but should be used with caution. If...

  • Menu hook

    In the editor, the designer is allowed to build custom menus. To use these menus in a widget, you...

  • Viewport and Device Hooks

    We've created some Hooks to make it simple to detect different viewport changes in your widgets a...