profile
viewpoint
Rubén Norte rubennorte @facebook London Software Engineer @ Facebook

axios/axios 73919

Promise based HTTP client for the browser and node.js

rubennorte/es6-object-assign 52

ECMAScript 6 Object.assign() polyfill and ponyfill

rubennorte/blister 12

Minimalist dependency injection container for JavaScript

rubennorte/extract-from-css 7

Extract information from CSS code

rubennorte/eventize 5

Convert objects into event emitters, that emit events before and after calling the specified methods

rubennorte/edit-cli 4

NPM package with a CLI to open the default text editor

rubennorte/ActiveAdmin-Globalize3-inputs 0

jQueryUI tab structure generation for globalized fields

rubennorte/activeadmin-globalize3-locale-selector 0

Change the language of the content you are displaying in Active Admin

rubennorte/axios 0

Promise based HTTP client for the browser and node.js

rubennorte/babel 0

:tropical_fish: Babel is a compiler for writing next generation JavaScript.

issue commenttc39/proposal-module-attributes

Use cases for module attributes besides module type

Module attributes could also be used to implement asset references (like proposed in https://github.com/tc39/proposal-asset-references).

If a reference to a module is needed (instead of the module itself), it could be imported as:

import moduleRef from 'module' with {reference: 'asset'};

import(moduleRef);
MyCustomLoader.load(moduleRef);

It could be used together with the type attribute:

import jsonRef from 'json-file' with {type: 'json', reference: 'asset'};

import(jsonRef);

We use a custom API for this at Facebook and having a standard syntax for it would be great (either with the asset references proposal or with this one).

littledan

comment created time in 4 days

more