You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a possible HMR regression where, when navigating between routes, there is a flash-of-missing-font, and also navigation is slow, clunky, not smooth.
One version: 1.1.427
Vite version: 6.0.11
RenderMode: ssr
I think the following is irrelevant, but it helps, this is how I load and use my font, also in older versions of One, this regression issue was not there.
import '../../public/tamagui.css'
import { scan } from 'react-scan'
import { LoadProgressBar } from 'one'
import { isWeb } from 'tamagui'
import { useFonts } from 'expo-font'
import { Tamagui } from '~/ui/Tamagui'
export const Base_Layout: React.FC<{ children: React.ReactNode }> = (
{ children },
) => {
useFonts({
Inter:
new URL('../../public/Inter-Variable.woff2', import.meta.url).href,
})
if (typeof window !== 'undefined') {
scan({
enabled: false,
log: false,
})
}
return (
Thank you.
The text was updated successfully, but these errors were encountered:
There is a possible HMR regression where, when navigating between routes, there is a flash-of-missing-font, and also navigation is slow, clunky, not smooth.
One version: 1.1.427
Vite version: 6.0.11
RenderMode: ssr
I think the following is irrelevant, but it helps, this is how I load and use my font, also in older versions of One, this regression issue was not there.
Thank you.
The text was updated successfully, but these errors were encountered: