Skip to content

Instantly share code, notes, and snippets.

View sandragolden's full-sized avatar

Sandra Golden sandragolden

View GitHub Profile
@sandragolden
sandragolden / routes.jsx
Created February 13, 2024 08:11
Hybrid Override routes.jsx
import {routes as defaultRoutes} from '@salesforce/retail-react-app/app/routes'
import React, {useEffect} from 'react'
import {withRouter} from 'react-router-dom'
import loadable from '@loadable/component'
import {getConfig} from '@salesforce/pwa-kit-runtime/utils/ssr-config'
import useMultiSite from '@salesforce/retail-react-app/app/hooks/use-multi-site'
// Components
import {Skeleton} from '@salesforce/retail-react-app/app/components/shared/ui'

Keybase proof

I hereby claim:

  • I am sandragolden on github.
  • I am sandragolden (https://keybase.io/sandragolden) on keybase.
  • I have a public key whose fingerprint is BDE6 2091 8D6A E893 ACC2 551D B695 CE84 41FF 5FB7

To claim this, I am signing this object: