Is there are ‘standard’ or ‘best practice’ way to approach requests in Express? It seems there are many possible approaches:
- http + vanilla js
- jQuery with .ajax syntax
- jQuery promises
- Fetch API
- npm method override package
Method override is the simplest, since it doesn’t require an additional script. However, it feels like a bit of a hack… overriding form methods. On the other had, the Fetch API is now built in to JS.
Which approach is best practice in 2020? How ubiquitous is method override? Which one should I focus on?