K
Size: a a a
K
K
apache2 rewrite all to indexили что-то в этом духе
as
V
V
as
Нужно что-то типо такого: url/movies&page=1&sort=popularity
V
EM
as
K
АЗ
EM
import { useLocation } from 'react-router';
export const useSearchParams = () => {
return new URLSearchParams(useLocation().search);
};
export const useSearchParam = (param: string) => {
return useSearchParams().get(param);
};
K
K
as
АЗ
K
K
🧨
🧨