I have a MERN stack web app that makes heavy use of rx.js "Observables". I have been searching for docs, plugins, npm modules, etc. that enable my app to do an image file upload (binary file) to a Node.js api endpoint (endpoint utilizes the npm module "multer" on the receiving end).
I have been unable to find tutorials, libraries or modules that support this specific functionality using the MERN + Observables stack. Google returns examples for Angular only. And there appears to be no relevant questions of this type on stackoverflow.
I have a complex form, some fields are required, and some are optional content. One piece of required input is an image file for upload. My aim/hope is to deliver all this data to the server using a chained series of Observables.
Is there a react plugin/module/library similar to axios that uses observables, or am I just guilty of "wishful thinking"? I am wondering if this is possible, and if anyone can point me towards a tutorial, article, example, github, etc., or just straight up show me the way.
Note: I don't have a problem with implementing a special one-off case and using a library like axios, or even just writing raw JS XHR to get it done, just thought it would be nice, clean, and homogenous to also accomplish this task with observables... also, I am fairly new to observables, so it's possible I could be missing something important or simply not know that this kind of functionality is not supported with this library (rx.js).
Any help, advice, or insight would be useful! Links to docs/articles/tutorials are greatly appreciated! Thanks in advance!