worthy-azureW
Refine2y ago
7 replies
worthy-azure

Remix docs out of date?

I'm just starting to experiment with refine in Remix and coming across issues when using some of the examples in particular SSR
https://refine.dev/docs/routing/integrations/remix/#how-to-make-ssr-work

If I understand correctly it seems things have changed since this was written, for example:

export async function loader() { const { data } = await dataProvider.getList<IPost>("posts", { pagination: { page: 1, perPage: 10, }, }); return json(data); }

Should actually be:
export async function loader() { const { data } = await dataProvider.getList<IPost>({ resource: "posts", pagination: { current: 1, pageSize: 10, }, }); return json(data); }

Or am I missing something?
Refine provides router bindings and utilities for Remix. This package will provide easy integration between Refine and Remix for both existing projects and new projects without giving up the benefits of Remix.
Remix | Refine
Was this page helpful?