next.js
dd245d73 - refactor: rename isAction to isPotentialServerAction

Commit
1 year ago
refactor: rename isAction to isPotentialServerAction getIsPotentialServerAction() only checks if something: - is definitely a fetch action (sent from the router, with a 'Next-Action' header set) - is *potentially* a no-js action (a multipart POST where we need to run decodeAction to check) so 'isAction' was a bit misleading.
Author
Committer
Parents
Loading