#An action seems to be polled.
1 messages · Page 1 of 1 (latest)
Quite sure I am not, I am using the indie stack
I removed all the code in the file, and it gave me the following error message:
Error: You made a POST request to "/graphql" but did not provide an `action` for route "routes/$example", so there is no way to handle the request.
You've got something somewhere making that poll
I'd inspect any hooks or services you have
Will give it a check
Yeah, I don't see any polling on the action for that file
Nor do I fully understand why the indie-stack performs that /graphql request
well it may not be on that file. Something else in your app can poll that route
an action is just a POST/DELETE/PUT on a url
I haven't used the indie stack. So maybe it is something in there. But I'd bet there's a rogue component/service doing it
I've tried eliminating things gradually, and it seems to survive my commenting. It is only one place where I am not using a loader.
I've made apps with remix before, but I've never met this problem where remix itself is sending a post request to graphql, and for some weird reason a random route's action is trying to process it
@orchid reef You ever figure it out? I'm curious if it was remix or some random library doing it
I think I figured it out, and the answer is kinda embarassing. I am pretty sure it was me. I also develop with graphql, and I think I had a website up and it polled on "/graphql" in one of my tabs.