Skip to content

Instantly share code, notes, and snippets.

View DimaAmega's full-sized avatar
🏠
Working from home

Dmitry Khorkin DimaAmega

🏠
Working from home
View GitHub Profile
@DimaAmega
DimaAmega / fine-tuned-react-router.md
Last active April 2, 2026 14:00
Fine-tuned react router
import { responseParser } from 'evidently-ui-lib/api/client-heplers'
import type { ProjectModel } from 'evidently-ui-lib/api/types'
import type { StrictID } from 'evidently-ui-lib/api/types/utils'
import { ensureIDInArray } from 'evidently-ui-lib/api/utils'
import { useCurrentRouteParams } from 'evidently-ui-lib/router-utils/hooks'
import type { ActionArgs } from 'evidently-ui-lib/router-utils/types'
import { Box, Grid, Typography } from 'evidently-ui-lib/shared-dependencies/mui-material'
import { clientAPI } from '~/api'
import type { GetRouteByPath } from '~/routes/types'