#Access loader data in LinksFunction
1 messages · Page 1 of 1 (latest)
I think you can't do that in links function.
But you could take a look at ExternalScripts component from remix-utils
1 messages · Page 1 of 1 (latest)
Is there a way to access loader data in the export links: LinksFunction function, like I can in other exports? I want to preload a certain script based on some loader data.
I think you can't do that in links function.
But you could take a look at ExternalScripts component from remix-utils