Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jitsi-meet/react/features/base/util/hooks.ts

12 lines
368 B

import { useSelector } from 'react-redux';
/**
* Takes a redux selector and binds it to specific values.
*
* @param {Function} selector - The selector function.
* @param {...any} args - The values to bind to.
* @returns {any}
*/
export function useBoundSelector(selector: Function, ...args: any[]) {
return useSelector(state => selector(state, ...args));
}