-
-
Notifications
You must be signed in to change notification settings - Fork 5
Isomorphism #17
Description
As discussed on nodejs/node#1716 and nodejs/node#1727
the discussion has some aspects like.
- Should we implement the same API on browser?
- Should we put the API on core?
My opinion is core API gets closer to the browser API. (But as a first step, we should discuss what API is core / non-core. Ref: #10 )
isomorphism is so important for us. isomorphic libraries can be easier to learn API and test easily and improve reusability (we can use the library on both browser and server).
Node/io.js is not only server-side, we can use Node/io.js on client application(Electron, NW.js), AWS Lambda, IoT. The usage is increasing. isomorphism is so important.
So, we should get close to the browser API as possible. Of course we should give our opinions to browser API for feedback. I would like to remove the frictions between the browser and Node API.
IMO, The following API should get closer to browser.
console(https://github.com/DeveloperToolsWG/console-object/blob/master/api.md)url(https://url.spec.whatwg.org/)stream(https://streams.spec.whatwg.org/)fetch(https://fetch.spec.whatwg.org/)
Next Generation Node should consider the isomorphic API :)