#How can I programatically trigger loader?

1 messages · Page 1 of 1 (latest)

potent vault
#

Hello, in my app I have a state that been managed in a server side. i would like to trigger the loader after some user interaction, or for asking the server for unique state to be fulfill.
I was thinking about two options:

  1. By navigating to current page: https://stackoverflow.com/questions/72670869/remix-programatically-trigger-loader
  2. by setting a state for loaderData, and by fetcher set the state again after this operation. But here i couldn't set the right address to fetch from, and fetcher.data returns empty.

is there something more i could do? Thanks

wild sky
potent vault
#

@wild sky it's exist on remix v1?