stormy-gold
stormy-gold3mo ago

hello here. might not be worth a github issues; using <Authenticated> or even the hook itself within

hello here. might not be worth a github issues; using <Authenticated> or even the hook itself within another Authenticated (via a router Outlet) causes the whole application (even the browser) to hang.
<Route
element={
<Authenticated key="private">
<ThemedLayoutV2>
<Outlet />
</ThemedLayoutV2>
</Authenticated>
}
>
<Route index element={<HomePage />} />
<Route path="*" element={<ResourceRoutes />} />
</Route>
<Route
element={
<Authenticated key="private">
<ThemedLayoutV2>
<Outlet />
</ThemedLayoutV2>
</Authenticated>
}
>
<Route index element={<HomePage />} />
<Route path="*" element={<ResourceRoutes />} />
</Route>
I used Authenticated on HomePage here. check() is called but seems to return true, so the redirect is not used. Weird thing is, just the one line const { data, isLoading } = useIsAuthenticated(); already triggers this issue, as well. Anyone seen this behaviour before?
12 Replies
fair-rose
fair-rose3mo ago
Hello @jthoward @pestaa we want to provide more personalized features built into devtools in the future. About telemetry, it doesn't have any additional telemetry other than the default telemetry, which can be disabled. https://refine.dev/docs/further-readings/telemetry/
extended-salmon
extended-salmon3mo ago
Cool, thanks for the reply. Hope to see devtools grow!
constant-blue
constant-blue3mo ago
guys how can i change the metadata for any refine project its not next js just plain vite
fair-rose
fair-rose3mo ago
I'm not clear what do you mean by metadata but you can use #ask-any-question to get help from AI chatbot
constant-blue
constant-blue3mo ago
thank you for replying but i managed to sort it out. I meant the metadata of a refine project in terms of the content of head element i was finding no standard way to modify the tab titles etc since at times it showed what i set in index.html but other times it showed the default placeholder from refine during authentication and i am not using nextjs either so I can't do an export metadata: Metadata
fair-rose
fair-rose3mo ago
You can use <DocumentTitleHandler /> component for react-router to modify default title structure of pages. Here is the documentation page: https://refine.dev/docs/routing/integrations/react-router/#documenttitlehandler
React Router | Refine
Refine provides router bindings and utilities for React Router. It is built on top of the react-router package. This package will provide easy integration between Refine and react-router for both existing projects and new projects.
conscious-sapphire
conscious-sapphire2mo ago
Refine is great. But the future is ChatGPT. After two years, I am still wondering if there is any demo or example having any Chat UI integrated with refine. Thank you.
rival-black
rival-black2mo ago
Hi everyone
eastern-cyan
eastern-cyan2mo ago
hello, how are you? I think refine is great to create internal administration tool. and I have really exps in that working with my client. but I'm not sure why refine community is so inactive. I wanna let more and more people know and use refine.... and Thanks, refine dev team!
flat-fuchsia
flat-fuchsia2mo ago
hello everyone did anyone know data provider built for aws amplify v6? i checked the webvsite and github but found nothing
fair-rose
fair-rose2mo ago
Hey @Onder we don't have it, but we encourage people to build their own data providers. We'd be more than happy to feature it in our website and documentation. We have tutorial page for creating a data provider: https://refine.dev/tutorial/essentials/data-fetching/intro/ or you can swizzle an existing data provider https://refine.dev/docs/data/packages/simple-rest/#customizing-the-data-provider-
Data Fetching | Refine
In this step, we'll be learning about the basics of data fetching in Refine. component accepts a dataProvider prop which is used to handle all the data fetching and mutation operations with a simple interface. While Refine supports many data providers out of the box, for sake of this tutorial, we'll be creating our own data provider and conne...
Simple REST | Refine
The Simple REST data provider is a package that provides an implementation for working with REST APIs that conform to a standard API design. It is built on the foundation of the json-server package.
flat-fuchsia
flat-fuchsia2mo ago
Okay. I desperately need it. I think I'll handle it. What should I do after I created providers?

Did you find this page helpful?