MCPcopy Index your code
hub / github.com/OpenSIST/OpenSIST.github.io / encodePathSegment

Function encodePathSegment

src/Components/RouteUtils.js:1–3  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1export function encodePathSegment(value) {
2 return encodeURIComponent(String(value ?? ""));
3}
4
5export function decodePathParam(value) {
6 // React Router decodes path params once before loaders/components receive them.

Callers 9

dataPointsApplicantPathFunction · 0.85
dataPointsProgramPathFunction · 0.85
applicantDialogPathFunction · 0.85
favoritesProgramPathFunction · 0.85
postsPostPathFunction · 0.85
postsApplicantPathFunction · 0.85
profileApplicantPathFunction · 0.85
profileRecordEditPathFunction · 0.85
programsProgramPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected