Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
mislav's profile
Mislav Marohnić
Mislav Marohnić
Mislav Marohnić
@mislav

Tweets

Mislav Marohnić

@mislav

Iconoclastic. Polyamorous. GitHubber. Pronouns: him/his. I say we take off and nuke the patriarchy from orbit. It’s the only way to be sure.

Amsterdam
mislav.net
Joined July 2007

Tweets

  • © 2018 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    Mislav Marohnić‏ @mislav Jul 25

    We’re finally finished removing jQuery from http://GitHub.com  frontend. What did we replace it with? No framework whatsoever: • querySelectorAll, • fetch for ajax, • delegated-events for event handling, • polyfills for standard DOM stuff, • CustomElements on the rise.

    2:57 AM - 25 Jul 2018
    • 3,589 Retweets
    • 9,043 Likes
    • Khải FALL Simply Euphoric Marion Leandro Laia Dr. Kate Holterhoff Stefan KP minus-one Dave Nicholas
    179 replies 3,589 retweets 9,043 likes
      1. New conversation
      2. Joe B. Lewis‏ @vettijoe Jul 26
        Replying to @mislav

        Polyfills: Are those jQuery polyfills? If not, did giving up jQuery's chaining hurt code's readability?

        1 reply 0 retweets 8 likes
      3. Mislav Marohnić‏ @mislav Jul 26
        Replying to @vettijoe

        Giving up chaining actually *improved* readability, even if it would lead to more verbose code. More explicit code often communicates intent better.

        3 replies 9 retweets 115 likes
      4. Joe B. Lewis‏ @vettijoe Jul 26
        Replying to @mislav

        The claim's interesting, but isn't evident enough. Twitter's a bad place to hold meaningful conversations. Can you write a detailed write-up somewhere beyond 140 chars? I'd love to follow through.

        1 reply 0 retweets 51 likes
      5. Ariel Saldana‏ @ahhrl Jul 26
        Replying to @vettijoe @mislav

        Lol.

        0 replies 0 retweets 9 likes
      6. End of conversation
      1. New conversation
      2. Martin‏ @mynyml Jul 25
        Replying to @mislav

        So custom elements, but nothing else from web components then? Would love to see a blog post about this.

        4 replies 1 retweet 55 likes
      3. Mislav Marohnić‏ @mislav Jul 25
        Replying to @mynyml

        We would like to jump on the Shadow DOM train but for now, the polyfill incurs performance penalty for regular DOM lookups

        2 replies 1 retweet 68 likes
      4. Šime Vidas‏ @simevidas Jul 25
        Replying to @mislav @mynyml

        I wanted to ask if you’re going to start using Shadow DOM once it ships in Firefox later this year, or if you’re going to wait a few more years for Edge to ship it, but then I remembered that Microsoft bought GitHub… 😅

        2 replies 5 retweets 143 likes
      5. Nafaa Boutefer‏ @Nafaabout Jul 25
        Replying to @simevidas @mislav @mynyml

        Good one hahaha.

        1 reply 0 retweets 6 likes
      6. 1 more reply
      1. New conversation
      2. C. Spencer Beggs‏ @spencerbeggs Jul 25
        Replying to @mislav @mikeal

        How long did it take?

        2 replies 1 retweet 1 like
      3. Mislav Marohnić‏ @mislav Jul 25
        Replying to @spencerbeggs @mikeal

        YEARS 😲

        0 replies 6 retweets 41 likes
      4. End of conversation
      1. New conversation
      2. Stefan Penner‏ @stefanpenner Jul 25
        Replying to @mislav

        End of a era. It’s cool to think the foundation jQuery provided, and how poor cross browser support once was. Now it still isn’t perfect, but it’s gotten so much better and jQuery itself is part of why stuff got better. For example the ease of using querySelector all

        1 reply 7 retweets 85 likes
      3. Dom Corvasce‏ @iamjustdom Jul 25
        Replying to @stefanpenner @mislav

        Oh boy! How many times I saw someone picking jQuery when the task only required to write some vanilla JS code.

        2 replies 3 retweets 24 likes
      4. Claudio Cicali  🇪🇺‏ @caludio Jul 25
        Replying to @iamjustdom @stefanpenner @mislav

        ... and how many Apps I have seen broken by a faulty, home made, event delegation system just because jQuery felt to be "too much" :)

        2 replies 3 retweets 140 likes
      5. Dom Corvasce‏ @iamjustdom Jul 25
        Replying to @caludio @stefanpenner @mislav

        Touchè

        0 replies 1 retweet 15 likes
      6. End of conversation
      1. New conversation
      2. Šimun Strukan‏ @Struki84 Jul 26
        Replying to @mislav

        OK, now what are the downsides? Do not tell me there aren't any? And why did u choose to remove jquery and not to use any popular fw in the first place

        1 reply 0 retweets 2 likes
      3. Mislav Marohnić‏ @mislav Jul 26
        Replying to @Struki84

        Unnecessary dependencies become part of technical debt. jQuery simply wasn’t as needed as it was 10 years ago to normalize browser behavior; regular DOM APIs do just fine and lend themselves better to static analysis.

        1 reply 9 retweets 43 likes
      4. Šimun Strukan‏ @Struki84 Jul 26
        Replying to @mislav

        Any pitfalls to avoid?

        0 replies 0 retweets 0 likes
      5. End of conversation
      1. New conversation
      2. Matija Marohnić‏ @silvenon Jul 25
        Replying to @mislav

        Someone at GitHub: "Need a file upload? No poblemo, let's use that shiny Fetch thingy! I'll just show a nice progress bar aaand… well, crap."

        1 reply 0 retweets 32 likes
      3. Mislav Marohnić‏ @mislav Jul 25
        Replying to @silvenon

        Haha we’d simply use good ol XHR for that. But I don’t think we show progress bars on uploads anyway

        3 replies 1 retweet 33 likes
      4. Pranav singhal‏ @_pranav_singhal Jul 25
        Replying to @mislav @silvenon

        Wow!!! I didn't think people actually still used XHR

        1 reply 0 retweets 4 likes
      5. Nikoloz‏ @Nikolo_z Jul 25
        Replying to @_pranav_singhal @mislav @silvenon

        What's wrong with XHR? 🤔

        1 reply 0 retweets 38 likes
      6. Mikey‏ @ReasonableCoder Jul 25
        Replying to @Nikolo_z @_pranav_singhal and

        I like to promisify them to prevent having callbacks in my code. Other than that, I don't mind XHR at all.

        1 reply 0 retweets 6 likes
      7. selbekk‏ @selbekk Jul 25
        Replying to @ReasonableCoder @Nikolo_z and

        You can make an XHR request resolve to a promise quite easily

        1 reply 0 retweets 10 likes
      8. Matija Marohnić‏ @silvenon Jul 25
        Replying to @selbekk @ReasonableCoder and

        So to answer the question "what's wrong with XHR": it's ugly, nobody can or should memorize it and everyone should use an abstraction if they want to live. I'm just saying what we're all thinking.

        5 replies 0 retweets 42 likes
      9. Dracco‏ @draccoz Jul 25
        Replying to @silvenon @selbekk and

        Don't call a subset of developers as "all", you are not even close to "all". Being ugly or not XHR is a powerful tool and it's childish easy to wrap it with promise/observable or even use it as is. Can't memorize it? Too bad, I did.

        3 replies 0 retweets 31 likes
      10. 4 more replies

    Loading seems to be taking a while.

    Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

      Promoted Tweet

      false

      • © 2018 Twitter
      • About
      • Help Center
      • Terms
      • Privacy policy
      • Cookies
      • Ads info