Wayback Machine
Jan FEB APR »
Previous capture 20 Next capture
2019 2020 2021
0 captures
10 Feb 20 - 3 May 20
sparklines
Close Minimize Help
Wayback Machine
跳到内容
使用 Twitter 服务即表明你同意我们Cookie 使用。我们和合作伙伴在全球范围内运营并使用 Cookie,用途包括分析、个性化定制和广告。
  • 主页 主页 主页,当前页。
  • 关于

已保存的搜索

  • 移除
  • 在这段对话中
    认证账号保护推文 @
推荐用户
  • 认证账号保护推文 @
  • 认证账号保护推文 @
  • 语言: 简体中文
    • 繁體中文
    • 日本語
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English
    • 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
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
  • 已有账号? 登录
    已有账号?
    · 忘记密码?

    首次使用 Twitter 吗?
    注册
PhilippSpiess 的个人资料
Philipp Spiess
Philipp Spiess
Philipp Spiess
@PhilippSpiess

Tweets

Philipp Spiess

@PhilippSpiess

❤️✨ @Facebook engineer · 🇦🇹 in 🇬🇧 · http://this-week-in-react.org  · @reactjs DOM team · he/him · always curious

London, England
ᵮ.com
加入于 2009年3月

Tweets

  • © 2020 Twitter
  • 关于
  • 帮助中心
  • 条款
  • 隐私政策
  • Cookies
  • 广告信息
忽略
上一页
下一步

访问个人资料页

已保存的搜索

  • 移除
  • 在这段对话中
    认证账号保护推文 @
推荐用户
  • 认证账号保护推文 @
  • 认证账号保护推文 @

推荐这条推文

屏蔽

  • 发送包含位置信息的推文

    你可以通过网络和第三方应用程序向推文添加位置信息,例如你所在的城市或精确位置。你始终可以选择删除 Tweet 位置记录。 了解更多

    你的列表

    创建新列表


    少于 100 字符,可选

    隐私

    复制推文链接

    嵌入此推文

    Embed this Video

    复制下列代码,把此推文添加到你的网站上。 了解更多

    复制下列代码,把此视频添加到你的网站上。 了解更多

    呃,连接服务器时出错。

    在你的网站或应用中嵌入 Twitter 内容即表示你同意 Twitter 开发者协议 和 开发者政策。

    预览

    你为什么会看到这个广告

    登录 Twitter

    · 忘记密码?
    还没有账号吗? 注册 »

    注册 Twitter

    还没有 Twitter 吗?注册,关注你的兴趣所在,并获取即时更新。

    注册
    已有账号? 登录 »

    双向 (发送与接收) 短代码:

    国家 代码 适合以下运营商
    美国 40404 (任何)
    加拿大 21212 (任何)
    英国 86444 Vodafone, Orange, 3, O2
    巴西 40404 Nextel, TIM
    海地 40404 Digicel, Voila
    爱尔兰 51210 Vodafone, O2
    印度 53000 Bharti Airtel, Videocon, Reliance
    印度尼西亚 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    意大利 4880804 Wind
    3424486444 Vodafone
    » 查看其他国家的短信短代码

    确认

     

    欢迎来到主页!

    这个时间线是你花费时间最多的地方,供你获取你关心事物的最新动态。

    推文出问题了?

    鼠标悬停在个人资料图片上并点击“正在关注”按钮,即可取消关注任何账号。

    言简意赅

    当你看到一条自己喜欢的推文时,点击爱心,即可让作者知道你分享了爱。

    传播消息

    和你的关注者分享别人推文的最快捷方式就是转推。点击图标立即发出转推。

    加入对话

    通过回复,提出你对任何推文的看法。找出一个让你充满热情的话题,立即加入进去。

    了解最新动态

    对人们正在讨论的话题获得即时洞察。

    获得更多你喜爱的内容

    关注更多账号,获得关于你关心话题的最新动态。

    了解正在发生的事情

    即时看到关于任何话题的最新讨论

    从不错过任何瞬间

    即刻捕获刚刚呈现的精彩故事。

    1. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      The pixel pipeline in the browser is often causing animations to be a lot slower than they can be. Different CSS properties cause in validations on different layers. You can use transform and opacity to avoid layout and skip some of the steps.pic.twitter.com/SMFolFwDQ9

      Style, Layout, Paint, Composite
      1回复 0 转推 5 喜欢
      显示这个主题帖
    2. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      Now @JoshWComeau shows an accordion he built where he avoids layout calculations to render fluidly on all devices. The second example is a like button with a particle effect like the one on https://twitter.com . Now he’s using http://jspaint.app  to explain the math. 😂pic.twitter.com/ogOdPKd6Nz

      A painting showing how to use some to calculate some of the trigonometry.
      1回复 0 转推 6 喜欢
      显示这个主题帖
    3. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      Sprites can help make the animation even smoother. Sprites are pre-rendered images of every frame which avoid all the work since the image is already rendered!pic.twitter.com/FKJCun4oZ7

      CSS animation steps to implement Sprites for a like button in 34 steps.
      1回复 0 转推 5 喜欢
      显示这个主题帖
    4. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      Philipp Spiess 转推了  🌈 Josh

      Slides are here:https://twitter.com/JoshWComeau/status/1131484918524108800?s=20 …

      Philipp Spiess 添加了,

       🌈 Josh @JoshWComeau
      Code, slides, and more for my React Europe talk, "Saving the Web 16 Milliseconds at a Time", available on Github: https://github.com/joshwcomeau/talk-2019 … Thanks for watching y'all!
      显示这个主题帖
      1回复 0 转推 6 喜欢
      显示这个主题帖
    5. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      Next up: @alecdotbiz on React Spring, a popular React animation library that explores physics based UI animation.pic.twitter.com/zeplkT6VdW

      Why animate anything?
      1回复 1 转推 5 喜欢
      显示这个主题帖
    6. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      In React Spring, you don’t need timing functions. Everything is based on spring physics. You can tweak the parameters to get different feels. Check out some of the presets (more in the recording):pic.twitter.com/uUOkOyUWJH

      1回复 1 转推 12 喜欢
      显示这个主题帖
    7. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      Now on stage: @ellatrx on designing the rich content editor for @WordPress. The previous editor was entirely relying on contentEditable and used the DOM as the source of truth. One giant problem with this is that you always end up getting an element soup.pic.twitter.com/3p80m6mN3d

      Previous editor used the Dom as the source of truth
      1回复 2 转推 19 喜欢
      显示这个主题帖
    8. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      The new editor, Gutenberg, works differently. Everything (E.g. headlines, subtitles) are described as blocks. Blocks use HTML with special comments to describe the behavior. All of the HTML is parsed into an object tree.pic.twitter.com/PIc66OgwGp

      Everything is a Block!
      1回复 2 转推 7 喜欢
      显示这个主题帖
    9. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      For backward compatibility, pages created using the old editor will be migrated into one special legacy block for the new system. Beautiful!

      1回复 0 转推 6 喜欢
      显示这个主题帖
    10. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      For rich text content block, Gutenberg ended up writing up their own <RichText> components in React using contentEditable under the hood but making it a controlled component. Key strokes and input events as well as the DOM content are used to map to the next state.pic.twitter.com/qnKF3mruEl

      Key&input: dom -> object -> dom
      1回复 1 转推 9 喜欢
      显示这个主题帖
      Philipp Spiess‏ @PhilippSpiess 2019年5月23日

      Whaaat the slides are made with Gutenberg as well 👏pic.twitter.com/8VvAdCOiip

      The slides of her talk are made with the Gutenberg editor
      上午3:24 - 2019年5月23日
      • 3 转推
      • 30 喜欢
      • Birgit Pauli-Haack - CU at #WCMIA + #WCEU Max Ⓦ CapitaineWP Sören Wrede Nahid Ferdous Mohit Fabian Kaegy Stan Chang Jon Surrell Grzegorz (Greg) Ziółkowski laura bananas
      1回复 3 转推 30 喜欢
        1. 新对话
        2. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          Aaaand I’m back after the lunch break. This time with @nikgraf! He’s talking about the new Reason React.pic.twitter.com/xOyYNiyWXJ

          Slide: a hitchhiker’s guide to reasonreact
          Nik Graf
          1回复 2 转推 14 喜欢
          显示这个主题帖
        3. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          Of course not 😉pic.twitter.com/lrQAX9RklF

          My goal is not to convert you
          2回复 0 转推 5 喜欢
          显示这个主题帖
        4. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          Reason has a feature called PPX which you can use to extend the syntax. You can use that to generate an actual module which can resolve the query to actual types. No type definitions but 100% type safety 🤯pic.twitter.com/ftqFnZPMkw

          Screenshot of GraphQL PPX with an example GraphQL query.
          1回复 0 转推 11 喜欢
          显示这个主题帖
        5. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          So that’s how a Hello World React component looks like in Reason React using the React PPX.pic.twitter.com/HJJo79R4eH

          React Hello World in Reason
          Nik Graf
          1回复 2 转推 5 喜欢
          显示这个主题帖
        6. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          So Reason (and Ocaml) can infer the type of a React Component prop by looking at how the prop is used. In this example, the type for the prop “name”, “characteristics”, and “population” are automatically determined.pic.twitter.com/xTHaxhvk4W

          Reason Code that shows a component with three props used as string, list of strings, and integer.
          1回复 2 转推 19 喜欢
          显示这个主题帖
        7. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          Hooks in Reason React ✨ The compiler can infer the type for a useState hook again by looking at how you use the state.pic.twitter.com/J94rCodNqX

          Reason React component using the useState hook.
          Reason React component using a useEffect hook.
          React Reason component using a custom useQuery hook.
          1回复 4 转推 20 喜欢
          显示这个主题帖
        8. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          Philipp Spiess 转推了 Philipp Spiess

          Ok so there’s even a PPX that can generate TypeScript/Flow declarations for your React Reason components as well. Unreal!https://twitter.com/PhilippSpiess/status/1131536730392342529 …

          Philipp Spiess 添加了,

          Reason Code that shows a component with three props used as string, list of strings, and integer.
          Philipp Spiess @PhilippSpiess
          So Reason (and Ocaml) can infer the type of a React Component prop by looking at how the prop is used. In this example, the type for the prop “name”, “characteristics”, and “population” are automatically determined. pic.twitter.com/xTHaxhvk4W
          显示这个主题帖
          1回复 3 转推 26 喜欢
          显示这个主题帖
        9. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          So we’re staying at Reason. @bryphe is talking about totally native React with Revery. Revery is a high-performance, React-inspired, native application stack built on top of the Reason programming language.pic.twitter.com/9kzDBA8kTp

          Totally Native React, slide.
          Bryan Phelps
          1回复 5 转推 16 喜欢
          显示这个主题帖
        10. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          So with Reason, Revery can use both native UI frameworks (like Cocoa on a Mac) and compile into native binaries while staying at a language that is highly productive. Great fit!pic.twitter.com/lYJEENwVcs

          Reason offers a type system, cross platform support, a good package manager (esy), continuous integration, great performance, and native compilation.
          2回复 0 转推 8 喜欢
          显示这个主题帖
        11. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          All of this can compile to JavaScript as well and just works in a browser.pic.twitter.com/VzchJvKSjV

          A Revery app in the browser showing an editor and a preview of the app
          1回复 0 转推 6 喜欢
          显示这个主题帖
        12. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          Compared to Electron, a Revery app (compiled to native code) is a lot faster. 🔥pic.twitter.com/tcVPQth3By

          Table showing startup time of onivim be of 5s and onivim be 0.5s.
          2回复 12 转推 67 喜欢
          显示这个主题帖
        13. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          Now up: Move fast with confidence by @paularmstrongpic.twitter.com/WnMEgzd2Ht

          Twitter dev workflow: write code, review, automated checks, staging, automated internal staging builds
          1回复 1 转推 8 喜欢
          显示这个主题帖
        14. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          So relatable 😂pic.twitter.com/YjYBzVIPUE

          Q: Anyone else having trouble running from the master branch?
A: did you install modules after pulling new changes?
          1回复 0 转推 6 喜欢
          显示这个主题帖
        15. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          🔥 @paularmstrong just announced Build Tracker. A tool to automate bundle size tracking including a dashboard that shows the bundle sizes of every build over time. http://buildtracker.dev pic.twitter.com/6oYricDuV8

          2回复 26 转推 151 喜欢
          显示这个主题帖
        16. Philipp Spiess‏ @PhilippSpiess 2019年5月23日

          Next: @jverlaguet on Skip, an experimental programming language developed at Facebook from 2015-2018.pic.twitter.com/qPfaoZzsug

          A slide showing “Skip”
          1回复 0 转推 8 喜欢
          显示这个主题帖
        17. 对话结束

      加载似乎需要一段时间。

      Twitter 可能超载或出现了暂时故障。重试或访问 Twitter 状态以了解更多信息。

        推荐推文

        false

        • © 2020 Twitter
        • 关于
        • 帮助中心
        • 条款
        • 隐私政策
        • Cookies
        • 广告信息