Open dottodot opened 1 year ago
The syncDrupalPreviewRoutes
is still part of the "legacy" code that was created before DrupalClient
. I believe this is being bundled as part of.
Copying it to your _app.tsx
is perfectly fine. (This is what I do as well.
We'll deprecate all the non-client code in 2.0 and move this code as part of docs.
I've noticed that if I add syncDrupalPreviewRoutes in my app.tsx my bundle size is increased by about 100kb however if I just include the function in my app.tsx sync still functions