3 ms·
> Then you would have to write a second endpoint in a second file to be able to respond to a JS-enabled (fetch) request This is only annoying if you prefer Rem
by nsonha 5y ago
> Then you would have to write a second endpoint in a second file to be able to respond to a JS-enabled (fetch) request
This is only annoying if you prefer Remix's structure of putting the endpoint and the UI in the same route. To me I have no interest in making cookie cutter CRUD apps that map pages directly to API endpoints so this is useless.