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
slightlylate's profile
Alex Russell
Alex Russell
Alex Russell
@slightlylate

Tweets

Alex Russell

@slightlylate

Chrome Project 🐡 & Web Standards TL; Blink API OWNER Named PWAs w/ @phae; probably making her ☕ DMs open. Tweets my own; press@google.com for official comms.

San Francisco, The Internet
infrequently.org
Joined December 2010

Tweets

  • © 2020 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • 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.

    1. Alex Russell‏ @slightlylate 4 Sep 2018
      • Report Tweet
      • Report NetzDG Violation

      We need to talk about Redux and "SSR". Just saw second (large, commercial) site sending > 100/500K (zipped/unzipped) of HTML payload *this week*. When it takes 3-5x the size of a PNG screenshot of your AFT content to "inline" your "critical" HTML/JS/CSS, something's broken.

      12 replies 16 retweets 89 likes
      Show this thread
    2. Tim‏ @tpillard 4 Sep 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @slightlylate

      Hi, Do you know much of this is the DOM-serialized Redux state? In my production apps, it easily takes up to ~100kb alone.

      1 reply 0 retweets 0 likes
    3. Alex Russell‏ @slightlylate 4 Sep 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @tpillard

      It's often more than half.

      1 reply 0 retweets 1 like
    4. Tim‏ @tpillard 4 Sep 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @slightlylate

      FWIW, I too think the cost of React/Redux SSR is an under-addressed issue. Would love any leads on how to fix this the right way.

      1 reply 0 retweets 0 likes
      Alex Russell‏ @slightlylate 4 Sep 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @tpillard

      A quick fix would be to put a Proxy in front of server-side Redux store and only serialize what actually got used to generate markup. But I question the need for nearly any/all of this cruft. Why are we doubling up this payload? Nearly all this data is already in the DOM.

      3:57 PM - 4 Sep 2018
      • 6 Likes
      • alexparish Alan Gorton Sreedhar Veeravalli eventuallyConsistent Anton Korzunov Tim
      3 replies 0 retweets 6 likes
        1. New conversation
        2. Tim‏ @tpillard 4 Sep 2018
          • Report Tweet
          • Report NetzDG Violation
          Replying to @slightlylate

          Though I find the point valid, the proxy thing naively seems overcomplicated to me. Also, one might argue that, following your thoughts, in most cases, we’re actually *tripling* the payload because most of this is initial state, which is also in the JS bundle.

          1 reply 0 retweets 0 likes
        3. Tim‏ @tpillard 4 Sep 2018
          • Report Tweet
          • Report NetzDG Violation
          Replying to @tpillard @slightlylate

          Isn’t the Redux state supposed to be the single source of truth though ? I mean, isn’t it the whole point to stop inferring state from the DOM?

          1 reply 0 retweets 0 likes
        4. 3 more replies
        1. New conversation
        2. Sergey Chernyshev‏ @sergeyche 4 Sep 2018
          • Report Tweet
          • Report NetzDG Violation
          Replying to @slightlylate @tpillard

          Do you know any such proxy that can be used to purge unnecessary Redux tree automatically? Does it require any patterns of use with Redux? I’m worried that it is heavily tied into how the rest of the app is constructed to build upon initial state.

          1 reply 0 retweets 0 likes
        3. Alex Russell‏ @slightlylate 4 Sep 2018
          • Report Tweet
          • Report NetzDG Violation
          Replying to @sergeyche @tpillard

          I haven't prototyped this but basically you'd need to be able to handle accesses for faults in an async way; ala:https://github.com/reduxjs/redux/tree/master/examples/async …

          0 replies 0 retweets 0 likes
        4. End of conversation
        1. Anton Korzunov‏ @theKashey 4 Sep 2018
          • Report Tweet
          • Report NetzDG Violation
          Replying to @slightlylate @tpillard

          That's a good point. Easy to do. But then your application should be ready to "not find" some data it would expect to have. And making all the places ready for this "sharded" behaviour - that's a hard task.

          0 replies 0 retweets 0 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo

      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

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