Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tajano
· 11y ago · 0 comments
Slightly off topic, but what library do you use for networking with React? Almost every code sample or tutorial uses jQuery's AJAX methods. Bundling jQuery seems excessive when just using those methods, but is there not a reliable alternative?
Comments
[–]
sotojuan
11y ago
There's tons, but the common one is fetch:
https://github.com/matthew-andrews/isomorphic-fetch
[–]
iLoch
11y ago
Yeah I use fetch and a Redux React promise middleware module.