home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.javascript      Notorious crap from makers of Netscape      235,101 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 235,038 of 235,101   
   Mild Shock to All   
   Re: Difference between 3rd party and nat   
   13 Mar 24 12:57:22   
   
   From: janburse@fastmail.fm   
      
   Why post in a forum about stuff that is way over   
   your head you full time idiot Lawrence D'Oliveiro?   
   The blistering moron still insists:   
    > On Wed, 13 Mar 2024 02:05:10 +0100, Mild Shock wrote:   
    >   
    >> Natively Node.js does not provide the browser XHR API.   
    >   
    > Browsers do, though.   
      
   Please go see a psychatrist, the point of   
   departure of my post was this advertisement,   
   which adresses the problem how to have   
      
   a single application code base for both browser   
   and node.JS, which you can also archive by using   
   3rd party node XHR API module. Or the 3rd party   
      
   library AXIOS is yet another alternative:   
      
    > Axios is a promise-based HTTP Client for node.js   
    > and the browser. It is isomorphic (= it can run in   
    > the browser and nodejs with the same codebase).   
    > On the server-side it uses the native node.js http   
    > module, while on the client (browser) it uses XMLHttpRequests.   
   https://axios-http.com/docs/intro   
      
   I then remarked that AXIOS isn't necessary anymore,   
   since fetch() is also isomorphic among Browser   
   and Node.js since release 21.x.x. With the benefit   
      
   that you wont have any 3rd party dependency anymore,   
   with fetch() everything will be native,   
   in the browser and in node.JS:   
      
    > Notable Changes - Oct 17, 2023   
    > The recent update to Node.js, version 21, includes   
    > an important change to the fetch module as well as   
    > WebStreams . Both modules were marked as stable   
    > after a recent update.   
   https://nodejs.org/en/blog/announcements/v21-release-announce   
      
   What don't you understand here? How stupid on   
   a scale of 1-1000 are you? Level 9000 stupid?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca