25 Matching Annotations
  1. Oct 2020
    1. One of the primary tasks of engineers is to minimize complexity. JSX changes such a fundamental part (syntax and semantics of the language) that the complexity bubbles up to everything it touches. Pretty much every pipeline tool I've had to work with has become far more complex than necessary because of JSX. It affects AST parsers, it affects linters, it affects code coverage, it affects build systems. That tons and tons of additional code that I now need to wade through and mentally parse and ignore whenever I need to debug or want to contribute to a library that adds JSX support.
  2. developer.mozilla.org developer.mozilla.org
    1. When there are many nested elements, each with its own handler(s), event processing can become very complicated—especially where a parent element receives the very same event as its child elements because "spatially" they overlap so the event technically occurs in both, and the processing order of such events depends on the Event bubbling and capture settings of each handler triggered.

      They even admit that it is complicated

    1. perhaps, imo this would make more sense. but it would slow down Parcel significantly as packages who don't have a browserslist or something similar will all get compiled (and most packages actually do target commonjs, which makes this prob not such a good idea). Which unfortunately is way too many packages. It would be great if tools like babel actually enforced a similar pattern to Parcel and use browserlist file or package.json instead of allowing defining target env in babel. Or at least not encourage it.
  3. Sep 2020
    1. But we face our own hostile environment: underpowered devices, poor network connections, and the complexity inherent in front-end engineering.
    1. If you've followed React's guide, you've installed react from npm. You can teach Rollup how to find this package within your project's node_modules directory using the rollup-plugin-node-resolve plugin. Since React exports a CommonJS module, you'll also need to convert that into an ES6 module using the rollup-plugin-commonjs plugin.
  4. Aug 2020
    1. The United Kingdom of Great Britain and Northern Ireland (UK), since 1922 comprises four countries: England, Scotland, and Wales (which collectively make up Great Britain) and Northern Ireland[1][2] (which is variously described as a country, province, or region).

      A country that contains 4 countries. It's almost a paradox. It never ceases to amuse me.

  5. Jul 2020
  6. May 2020
    1. The UK voted to leave the European Union in a referendum on 23 June 2016 (and ceased to be a member state on 31 January 2020). This withdrawal from the EU makes the Republic of Ireland–United Kingdom border on the island of Ireland an external border of the European Union.[36] However, the Irish and UK governments and the President of the European Council have stated that they do not wish for a hard border in Ireland, taking into account the historical and social "sensitivities" that permeate the island.[37] In September 2016 the British Secretary of State for Exiting the European Union, David Davis, stated that the UK government would not seek a return to a "hard border" between the UK and Republic of Ireland
    1. Jersey is not part of the United Kingdom,[15] and has an international identity separate from that of the UK,[16] but the UK is constitutionally responsible for the defence of Jersey.[17] The definition of United Kingdom in the British Nationality Act 1981 is interpreted as including the UK and the Islands together.[18]The European Commission confirmed in a written reply to the European Parliament in 2003[19] that Jersey was within the Union as a European Territory for whose external relationships the UK is responsible. Jersey was not fully part of the European Union but had a special relationship with it, notably being treated as within the European Community for the purposes of free trade in goods.
  7. Apr 2020
    1. On October 18, 1948, the flag of the Arab Revlot was adopted by the Palestinian government and the Arab League. The current version, with it’s altered stripe order, was adopted in 1964 by the Palestine Liberation Organization under Yassir Arafat and then in 1988, as the official flag of the State of Palestine (unless you don’t recognize Palestine, that is).
  8. Jan 2020
  9. Dec 2019
    1. esnext: source code using stage 4 features (or older), not transpiled, in ES modules. main continues to be used the same way. Its code can be generated from the untranspiled code. Most module use cases should be handleable via esnext. browser can be handled via an extended version of esnext (see next section).
  10. Nov 2019
    1. A large part of the ‘resources’ conversation in OER is this kind of problem. Cheaper access to books. More people using books. Nice measurable problems that can be fixed.

      Lowering costs for learning materials via OER: A complicated problem vs what Dave calls complex problems, like open pedagogies.