3 ms·
I'm missing something. What's the problem they are solving? It looks like they are offering a more limited way to make AJAX calls. Why? To add -- it depends on
by anonytrary 8y ago
I'm missing something. What's the problem they are solving? It looks like they are offering a more limited way to make AJAX calls. Why?
To add -- it depends on jQuery? Yeah, I'm gonna have to pass. What this thing does is so small that I can't fathom why they would need to import all of jQuery just to provide a new way to do AJAX requests.
I'll just keep using React, it probably already solves whatever problem is trying to be solved here.
- slow_donkey 8y agoIt's supposed to be used before you reach for a full blown SPA framework when you just need sprinklings of AJAX.
- anonytrary 8y ago> when you just need sprinklings of AJAX Then it is even more antithetical to import jQuery. I might as well use an SPA framework instead.
- e67f70028a46fba 8y agoif it helps you can think of intercooler as HTML++, addressing the shortcomings of HTML (only supporting GET/POST, only allowing clicks/submissions to generate requests, only targeting full page replacements, etc.) rather than trying to be something like React. It isn't right for everything, but it works well for me w/ a rails back end and there are some good theoretical reasons for using HTML if you like REST/HATEOAS. I linked a few articles up thread you can read if you are interested.