Sign in with Twitter

Username:

Sebastian Markbåge @sebmarkbage San Francisco, California

React JS · TC39 · The Facebook · Tweets are personal

461 Following   48,529 Followers   10,136 Tweets

Joined Twitter 12/10/08


@sophiebits dynamicless!
4/7
2020
If SSR is now “serverless”, what is SSG? “serverless”-less?
4/6
2020
I don’t usually plug FB products on this account but PSA: I really enjoy Facebook Portal. Yes it only does one thin… https://t.co/0OHa5pYNHo @sophiebits @dan_abramov @scooke998 @andrewingram @adamwathan They do “exist”. :) Public ones are still a net negative in my experience. @en_JS @wincent I’m skeptical of this in Rust tbh. It’s good that standard libraries does it but it seems to me tha… https://t.co/Db7HuWCDQZ
4/5
2020
Google Closure Compiler is really good. I’ve grown to rely on it a lot but when it doesn’t inline something it shou… https://t.co/XZSmR0Li6P
4/3
2020
@devongovett @dan_abramov @mattgperry @framer @reactjs Eg iirc Preact slots uses global or scoped names for this which is very similar. @devongovett @dan_abramov @mattgperry @framer @reactjs I do think there’s things we can make easier though. Particu… https://t.co/9GStzj0hOf @devongovett @dan_abramov @mattgperry @framer @reactjs The DOM is easy until you try to compose it. React is a comp… https://t.co/Mgt3jMacCA @devongovett @dan_abramov @mattgperry @framer @reactjs Even in those cases it can be a combination of a shared pare… https://t.co/OJEGhM32Xx @devongovett @dan_abramov @mattgperry @framer @reactjs The crunch is if they should actually be the same DOM nodes… https://t.co/oSM15xFY3w
3/28
2020
@kuvos Source code ESM is not the point of my tweet though. You can even compile CommonJS to ESM outputs. It's no d… https://t.co/UlyhMCWOdW
Retweeted by Sebastian Markbåge @kuvos Source code ESM is not the point of my tweet though. You can even compile CommonJS to ESM outputs. It's no d… https://t.co/UlyhMCWOdW
3/26
2020
I think a lot of things like this take a long time because it's not worth to move off of status quo for any one thi… https://t.co/Ehg1qB35fnIn particular, a module is special from objects in that offsets can be statically computed and it's different from… https://t.co/IixcvuamRUI guesstimate that ES modules as a compiler target for bundlers is underestimated. There has been many disappointme… https://t.co/oK36FzA016
3/25
2020
@jlongster *There has NOT been a lot of pressure. @jlongster TL;DR: Even if browsers built this, file systems might not actually work correctly anyway because basica… https://t.co/50KshvBwap @jlongster Hehe. I found that too, but that lead me to find something else. Before you judge, you should read this: https://t.co/HuyqawKfGn
3/24
2020
@acdlite Same, but with coffee. @monasticpanic @threepointone @brian_d_vaughn @dan_abramov But for jest specifically it’s not really a browser fram… https://t.co/BKjFg24Jpb @monasticpanic @threepointone @brian_d_vaughn @dan_abramov Detecting jest is just a proxy for the unit testing styl… https://t.co/YgVF22aEQ1 @monasticpanic @threepointone @brian_d_vaughn @dan_abramov It really is about the testing strategy. If you’re doing… https://t.co/IoSjlbsxS5 @bradleymeck Yea. For React SSR it’s not unheard of to bundle the render code anyway for consistency with the clien… https://t.co/N3Zee2DyFe
3/23
2020
@acdlite No. Instead you should watch Jay and Silent Bob Reboot and live review it.
3/22
2020
@NicoloRibaudo @giuseppegurgone The alternative for non-react runtimes is to override "importSource" option to poin… https://t.co/tmf184o5io @jlongster Does it work on iOS? I think browsers have been kind of semi-deprecating shared workers - which I think… https://t.co/0LXOLHY7AE
3/20
2020
The US has a strong culture of giving locally during a crisis. It’s strange for me coming from a culture where it’s… https://t.co/kYR1WOZzHpDuring times of crisis, children & families in our communities are some of the most vulnerable because they lack re… https://t.co/0thr67Onf5
Retweeted by Sebastian Markbåge @brian_d_vaughn The Bay Area reacted relatively quickly. I’m pretty happy how they’ve handled it locally TBH. Stron… https://t.co/hVhpHn2x1pPeople kept going as normal for too long and didn’t recognize the crisis as it was unfolding and even after.My college major was on the psychology of crisis leadership. I studied the worst disasters affecting Sweden (includ… https://t.co/PQ2pimggtEFrom https://t.co/JkSHkuv3wN Not sure if accurate but beautiful.Logarithmic scales can be so hauntingly descriptive. https://t.co/ZMugdJsrFY
3/19
2020
@cpojer Syntax is familiarity. Prettier's best feature is standardization. It allows people to train their brains a… https://t.co/hzw8Lx4jU2
3/18
2020
The politics of COVID-19 is a fast forward of the politics of Climate change. Will be interesting to see how it plays out. @AdamRackis Bundlers is just one example that is pretty easy to fix. The long tail of APIs gets trickier. @AdamRackis They don't need to change the import() semantics. They can just expose an additional API. The spec can follow later. @americanwombat But it's not a waterfall in terms of network, they're all streaming in upfront but executing the CP… https://t.co/PoEysxkwJp @americanwombat The problem I have is that the promises are not chained up ahead of time. E.g. if I create a lot of… https://t.co/mNO4L1CLLtWe don't actually require these to be Promises. We support synchronously resolving thenables too. It's just that th… https://t.co/BU7NMwqrh7React.lazy is the worst case example of this because if you use a lot of them but they all load the same chunks, Re… https://t.co/ICFXsJoD9ZE.g. await import('this-was-already-preloaded'); ^ I should be able to do this synchronously on the condition that… https://t.co/qe69OirylMIt's not expensive compared to I/O but the design of Promises to require a tick even when it's not blocked on I/O i… https://t.co/FpiCJLNdg9I don't know who needs to hear but Promise ticks are not cheap. There's some baseline overhead to just creating the… https://t.co/mTBHODpiA4 @codervandal @acemarke However, the purpose that the plugin has, is that it can now detect unusual string refs patt… https://t.co/0orygguc9s @codervandal @acemarke It's an unfortunate implementation detail that leaked that you can actually write that in JS… https://t.co/fR2DqEXT2M @codervandal @acemarke Making it a separate plugin makes you ask this question and whether you want it. There are m… https://t.co/pYqRDTlJJuMaking changes to compiler configurations is the hardest thing. So many releases and projects to coordinate.… https://t.co/pmm5360gFePresets/meta-frameworks also means taking advantage of newer variants that switch things up a bit. https://t.co/E42eOuKsQc"It also adds another development-time plugin that is said to make debugging/errors clearer: babel/plugin-transform… https://t.co/b9uxrwhN4H @acemarke https://t.co/uxl88XWJIyFun fact: FB didn't even have it on. We probably thought we were clever configuring the minimum setup.😂 This is wh… https://t.co/zzED9dQBTKDecoupling is the worst. Did you know about the plugin-transform-react-jsx-self Babel plugin? Probably not. It was… https://t.co/7VORjleNrG
3/12
2020
@alecdotbiz @AdamRackis @dan_abramov @AdamRackis to be clear, which version were you testing on? Are you still seeing issues with v9? @AdamRackis @alecdotbiz @dan_abramov For this use case (enter/exit) animations, I have some ideas for a built-in fo… https://t.co/0EQTMdo9Sv @AdamRackis @alecdotbiz @dan_abramov This is still a mutation in render. https://t.co/65vnH27KSV Seems like even j… https://t.co/b1KSIipZva
3/9
2020
Bagel Bites are small pizzas. Not bites of a bagel.
3/7
2020
@cpojer @dan_abramov It would’ve gone viral on Twitter tho.1. A very short thread on the power of data graphics and scientific communication. Roughly a week ago, some very s… https://t.co/9vibmDo0jC
Retweeted by Sebastian Markbåge
3/6
2020
@littledan @BrendanEich @03d5d0a1 @ljharb @bterlson @lbljeffmo I believe this would use a different Symbol than Sym… https://t.co/Xb8sj1WxPd @littledan @BrendanEich @03d5d0a1 @ljharb @bterlson @lbljeffmo Throughout the process for any design decision there… https://t.co/xHhef6wmHM @threepointone How much did you reduce the angle of trajectory tho?
3/3
2020
@mattgperry @framer @reactjs @jmeaspls It might be easy to forget to add an extra boundary though. If you have useP… https://t.co/DGk9IvK7YN @mattgperry @framer @reactjs @jmeaspls One thing to keep in mind. The reason I decided against a Hook for this, whe… https://t.co/uN8MbRMo6U
3/2
2020
This proposal mentioned it, but left it “production” and “react-native” as separate environments but ofc There’s re… https://t.co/fK8Hq1ZjndThe pkg.exports field proposal seems pretty good. I wish it would explicit mention resolution of “production”, “dev… https://t.co/bEHSUeGrTd
3/1
2020
@brian_d_vaughn @jlongster No I got it, just saying they're not exactly equivalent. @jlongster It's actually implemented the same right now but React doesn't know that you can't change the reducer du… https://t.co/Ft9FdyJF5o
2/29
2020
@joshcstory @dai_shi We built it that way so that libraries could seamlessly hide context access without making it… https://t.co/tJIGrasOY4
2/28
2020
@coding_all_day You mean, "Congrats @sebmck !" @devknoll @dan_abramov @sseraphini @reactjs Even if we did, I don't think there will ever be an imperative way to u… https://t.co/2T4Vcyau75
2/27
2020
@dan_abramov @devknoll @sseraphini @reactjs Yea but that can be done with streaming SSR today too. There's nothing… https://t.co/ZSxZLauadt @devknoll @dan_abramov @sseraphini @reactjs The issue is that you still can't let deeply nested Blocks be used to d… https://t.co/cHoQp3g2VM
2/26
2020
@cpojer Ok, now try it with byte size.What they should be thinking is “Is this *type* of feature worth making the product twice as slow?”Let’s say your product runs in 100 CPU units. Let’s say you can add 100 convenient features on top that each makes… https://t.co/1GhdVOxl5I
2/25
2020
@mattgperry @reactjs Unmount happens while mutating the tree. So a sibling can have been removed but this one hasn’… https://t.co/VNevWRy9y0 @kentcdodds That consistency used to be important when VMs used function length to determine optimization heuristic… https://t.co/8StuMZnbfX @kentcdodds It’s not for simple minification like removing whitespace or renaming some variables. However after you… https://t.co/h85Yu5KGLO @kentcdodds We do it with React. We wouldn’t have to if everyone used a powerful enough compiler that lets you get… https://t.co/bEuw5hFJWJ
2/24
2020
@IAmTrySound Yea I think we’ll want to do that in a minor. Just thinking ahead if we can get the automatic stuff in… https://t.co/Q7We56Z7CP @IAmTrySound Seems unfortunate to have a folder and package for each export in a folder but that makes sense. It b… https://t.co/2nPAUA17ZXNote that this is a very different constraint from preserving backwards compatibility because it allows for breakin… https://t.co/ItDFs6IiDSLike there’s no we way we’ll *only* publish an ES module export for React in today’s ecosystem.Any ES module adoption proposal should start with: Here’s how you publish code that works both in CommonJS (with ES… https://t.co/O3YRXix2OlIn the pkg.module pattern `module: “../foo.es.js”` doesn’t this also support multiple aliases like `module: { “foo.… https://t.co/oOSqIhrmmH @wSokra @fabiosantosart @IAmTrySound Although most environments like meta frameworks are set up to handle these as… https://t.co/x6jT0D7bme @wSokra @fabiosantosart @IAmTrySound This is just for our own internal code in the React repo, where it’s treated a… https://t.co/SKFgYIp9bb
2/23
2020
@ryanflorence @kognise Curious. What was this code for?
2/22
2020
@acutmore Yea. No plans to get rid of the functionality for escape hatches. You might want to use Trusted Types on… https://t.co/WbXDHCp9Ro @ryanflorence @flexdinesh TL;DR: Listen to the warning. Really bad things can happen otherwise. @ryanflorence @flexdinesh DOM structure sometimes gets patched up if the tag names don’t line up. If attributes mis… https://t.co/wzyVEs8Z9y
2/19
2020
@_paulshen @dan_abramov @elie2222 @kentcdodds The issue is that concept include a bunch of bad practices too. So it… https://t.co/g5ghws5jnq @timkevinoxley @acdlite @DavidKPiano @dan_abramov @leogcrespo @ovidiubute @acemarke @kentcdodds @BenLesh It also is… https://t.co/8jTuetR4xF @dan_abramov @elie2222 @kentcdodds window.inMemoryCache does make sense because having synchronous fast access to c… https://t.co/3sSjWwUXhG @dan_abramov @elie2222 @kentcdodds State stored per top level DOM node makes very little sense for anything except… https://t.co/0Lj1g583EH @dan_abramov @elie2222 @kentcdodds “Device” is another level. Eg local storage. Restored even if the browser lifeti… https://t.co/bmokotJGgl @acdlite @DavidKPiano @dan_abramov @leogcrespo @ovidiubute @acemarke @kentcdodds @BenLesh So most of what you do de… https://t.co/jHLN6v8MZp @acdlite @DavidKPiano @dan_abramov @leogcrespo @ovidiubute @acemarke @kentcdodds @BenLesh I think this is more of a… https://t.co/bJRVyld8GX
2/15
2020

0