Skip to content

Instantly share code, notes, and snippets.

Country Type 2022 2023 2024 2025 2026 2027 2028 2029 2030
Burundi Country/Area 7975105 8045311 8118836 8191988 8264365 8335978 8406829 8476889 8546141
Comoros Country/Area ... ... ... ... ... ... ... ... ...
Djibouti Country/Area 1166766 1196276 1226534 1257334 1288537 1320157 1352180 1384591 1417346
Eritrea Country/Area 553690 562240 570814 579344 587776 596127 604406 612623 620782
Ethiopia Country/Area 2084590 2105744 2128585 2151145 2173361 2195226 2216754 2237900 2258687
Kenya Country/Area 2344325 2349302 2354122 2358457 2362286 2365617 2368452 2370798 2372658
Madagascar Country/Area 660269 664997 669973 674862 679659 684342 688891 693307 697585
Malawi Country/Area 13676 13909 14140 14371 14601 14831 15059 15287 15514
Mauritius Country/Area 31363 31667 31969 32269 32564 32856 33143 33424 33698
@imhalid
imhalid / useMediaQuery.ts
Created April 15, 2025 07:01
useMediaQuery.ts hook
import { useMemo, useSyncExternalStore } from 'react'
export function useMediaQuery(query: string): boolean {
const isClient = typeof window !== 'undefined'
const media = useMemo(() => (isClient ? window.matchMedia(query) : null), [query])
return useSyncExternalStore(
(callback) => {
if (media) {
media.addEventListener('change', callback)