#frontend-tech

2017-08-01
jihchi 18:45:56
https://twitter.com/dan_abramov/status/892313012966760448

Cool post from @JimPurbrick about testing optimistic consistency in replicated Redux with property based tests. jimpurbrick.com/2017/07/31/tesโ€ฆ
twitter
Cool post from <https://twitter.com/JimPurbrick|@JimPurbrick> about testing optimistic consistency in replicated Redux with property based tests. <http://jimpurbrick.com/2017/07/31/testing-replicated-redux/>
jihchi 18:46:24
https://twitter.com/thekitze/status/891630459112837120

Bundlephobia - the fear of installing a massive npm module.

I started checking all of my modules before installing๐Ÿ‘‰ cost-of-modules.herokuapp.com
twitter
Bundlephobia - the fear of installing a massive npm module. I started checking all of my modules before installing:point_right: <http://cost-of-modules.herokuapp.com/>
jihchi 20:44:59
What does my npm module cost?
Find out the performance impact of adding a npm module to your build.
mofas 23:28:00
twitter
:rotating_light: :rotating_light: I just published: "#webpack awarded $125,000 from MOSS Program" <https://twitter.com/mozilla|@mozilla> <https://twitter.com/mozhacks|@mozhacks> #javascript #webassembly <https://medium.com/webpack/webpack-awarded-125-000-from-moss-program-f63eeaaf4e15>
2017-08-02
Nicolas 00:55:01
@niwolive has joined the channel
jihchi 08:49:08
https://twitter.com/andrestaltz/status/892395537315631104

Announcing
react-native-node

A tool I built to get the http, fs, udp, and everything on npm to work in RN. github.com/staltz/react-nโ€ฆ
twitter
Announcing react-native-node A tool I built to get the http, fs, udp, and everything on npm to work in RN. <https://github.com/staltz/react-native-node> <https://pbs.twimg.com/media/DGJs5SXXYAALVPP.jpg>
jihchi 08:49:58
https://twitter.com/mikaelbrevik/status/892382648940867584

Quick tip on how to take full size screenshots using Chrome DevTools (after Chrome 59).
twitter
Quick tip on how to take full size screenshots using Chrome DevTools (after Chrome 59).
jihchi 08:51:53
https://twitter.com/mylesborins/status/892482115685801984

๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

V8 6.0 has landed on @nodejs master and a backport PR has been opened for 8.x

github.com/nodejs/node/coโ€ฆ

github.com/nodejs/node/puโ€ฆ

๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰
twitter
:tada::tada::tada: V8 6.0 has landed on <https://twitter.com/nodejs|@nodejs> master and a backport PR has been opened for 8.x <https://github.com/nodejs/node/compare/1782b3836ba58ef0da6b687f2bb970c0bd8199ad...98ddab411523f83eca9b5311529f8288379e550f> <https://github.com/nodejs/node/pull/14574> :tada::tada::tada:
jihchi 08:57:46
https://twitter.com/tkadlec/status/892419141369573376

Really dig this! @code extension showing how much code you're pulling in when you import a package from @WixEng marketplace.visualstudio.com/items?itemNameโ€ฆ
twitter
Really dig this! <https://twitter.com/code|@code> extension showing how much code you're pulling in when you import a package from <https://twitter.com/WixEng|@WixEng> <https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost> <https://pbs.twimg.com/media/DGKCQDhVoAAUFnO.jpg>
jihchi 09:15:24
Twitter ไธŠ็š„ Robert Pankowecki๏ผš"Hey @SlackHQ . Is that true? Are you using development version of @reactjs in production? #js #reactjs #react https://t.co/p5PzDI0BXu"
https://mobile.twitter.com/pankowecki/status/892294002040594434
twitter
Hey <https://twitter.com/SlackHQ|@SlackHQ> . Is that true? Are you using development version of <https://twitter.com/reactjs|@reactjs> in production? #js #reactjs #react <https://pbs.twimg.com/media/DGIQaU1WAAAumZ8.jpg>
jihchi 09:17:18
Twitter ไธŠ็š„ Oscar Bolmsten๏ผš"@kentcdodds Hi Kent, it looks like this npm package is stealing env variables on install, using your cross-env package as bait: https://t.co/REsRG8Exsx"
https://mobile.twitter.com/o_cee/status/892306836199800836

---

cross-env v.s. crossenv
twitter
<https://twitter.com/kentcdodds|@kentcdodds> Hi Kent, it looks like this npm package is stealing env variables on install, using your cross-env package as bait: <https://pbs.twimg.com/media/DGIcUNyXsAAY1Jf.jpg>
  • ๐Ÿ˜จ1
jihchi 09:31:31
RFC: Default Package Control Channel and Package Telemetry - General Discussion - Sublime Forum
https://forum.sublimetext.com/t/rfc-default-package-control-channel-and-package-telemetry/30157
Sublime Forum
Recently @gerry pointed out that it appears the third most popular package in the Package Control default channel is apparently sending data to the startup Kite: <https://twitter.com/gerardroche/status/891802572373319680> <https://packagecontrol.io/browse/popular> <https://packagecontrol.io/packages/SideBarEnhancements> <https://github.com/SideBarEnhancements-org/SideBarEnhancements/blob/1858330b71b682ec1f3265bd280dde65465bdf18/Stats.py#L157> <https://github.com/kiteco/kite-installer/blob/02b55e5e18c0>...
jihchi 21:14:15
GitHub
jest-image-snapshot - Jest matcher that performs image comparisons using Blink-diff and behaves just like Jest snapshots do! Very useful for browser visual comparison testing.
2017-08-03
jihchi 18:55:58
twitter
So today we figured out that the parsing ambiguities around arrow functions can lead to quite surprising results if you're not careful. :thinking_face::upside_down_face: <https://pbs.twimg.com/media/DGIOGi7XgAAQbOQ.jpg>
I see nothing wrong there. The `undefined` you're getting is just how the REPL deals with assignments, and has nothing to do with your f or g functions or the fact you used `=>` to write them.
jihchi 21:27:06
GitHub
chalk-animation - :clapper: Colorful animations in terminal stdout
2017-08-04
mofas 05:57:55
twitter
Library author or monorepo maintainer looking to simplify dependency management? Yarn's workspaces feature is here! <https://yarnpkg.com/blog/2017/08/02/introducing-workspaces/>
่ฎš่ฎšใ€‚ไน‹ๅ‰่ฉฆไบ†ไธ€ไธ‹๏ผŒ้€ฃ node_module ้ƒฝไธ้œ€่ฆ๏ผŒไธๅƒ lerna ็”จ link
mofas 05:59:14
@jihchi dash ๅฏไปฅๆ•ดใ„งไธ‹ๅ•ฆ
  • 2
jihchi 08:49:52
่ฎš่ฎšใ€‚ไน‹ๅ‰่ฉฆไบ†ไธ€ไธ‹๏ผŒ้€ฃ node_module ้ƒฝไธ้œ€่ฆ๏ผŒไธๅƒ lerna ็”จ link
jihchi 08:58:07
https://twitter.com/yassineelouafi2/status/893163587979685889

I wrote a little demo to find out how virtual dom libs rearrange nodes in diffs codesandbox.io/s/BkLpXYQn
twitter
I wrote a little demo to find out how virtual dom libs rearrange nodes in diffs <https://codesandbox.io/s/BkLpXYQn> <https://pbs.twimg.com/media/DGUnhDDUwAAfYbL.jpg>
jihchi 09:03:43
https://twitter.com/jlongster/status/893158741494902784

I got hot reloading working with create-react-app, but don't tell Dan because I'm afraid he'll disable it... (needs webpack's internals)
twitter
I got hot reloading working with create-react-app, but don't tell Dan because I'm afraid he'll disable it... (needs webpack's internals)
jihchi 09:32:28
https://mesosphere.com/blog/docker-vs-kubernetes-vs-apache-mesos/

ๅพˆไธ้Œฏ็š„ไป‹็ดนๆ–‡๏ผŒ่ฎ“ไฝ ไบ†่งฃ Docker v.s. K8S v.s. Mesos ็š„ๅทฎๅˆฅ
Mesosphere
There are countless articles, discussions, and lots of social chatter comparing Docker,...
jihchi 09:36:44
2017-08-05
jihchi 19:01:11
twitter
Rendering on Google Search: <http://bit.ly/2wffmpL> - web rendering is based on Chrome 41; use feature detection, polyfills, and log errors! <https://pbs.twimg.com/media/DGacckcVoAAPpTr.jpg>
  • 1
2017-08-06
jihchi 21:31:42
GitHub
react-simple-maps - An svg map component built with and for React
2017-08-07
2017-08-08
2017-08-09
jihchi 08:43:43
twitter
Next.js 3.0 is now available for all :100: <https://twitter.com/zeithq/status/894937579694325760>
twitter
Next.js 3.0 <https://zeit.co/blog/next3>
็œ‹่ตทไพ†ๆฒ’ๅ•ฅ breaking change๏ผŒๆ™šไธŠๅฐฑไพ†ๅนซ rumors-site ๅ‡~
oh yeah~~~~
jihchi 08:44:53
https://twitter.com/atomeditor/status/894958841942560768

Atom v1.19 and v1.20-beta have been released. New architectural changes available now. See the blog post for details blog.atom.io/2017/08/08/atoโ€ฆ
twitter
Atom v1.19 and v1.20-beta have been released. New architectural changes available now. See the blog post for details <http://blog.atom.io/2017/08/08/atom-1-19.html> <https://pbs.twimg.com/media/DGuIQPFUIAEzK0F.jpg>
jihchi 08:48:08
https://twitter.com/wsokra/status/894843792175616000

Yeah a bunch of new features and many bugfixes for webpack 3.5.0.

If you had problems with Scope Hoisting it's worth trying again.
twitter
Yeah a bunch of new features and many bugfixes for webpack 3.5.0. If you had problems with Scope Hoisting it's worth trying again. <https://pbs.twimg.com/media/DGsfbvqXkAAJO7N.jpg>
jihchi 08:49:03
https://twitter.com/kentcdodds/status/894980156670038016

๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ

npm install downshift@rc

First release candidate released! Please try it out! github.com/paypal/downshiโ€ฆ

:racing_car:๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ
twitter
:racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car: npm install downshift@rc First release candidate released! Please try it out! <https://github.com/paypal/downshift/issues/1#issuecomment-321030817> :racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car::racing_car:
้€™ๅšๆณ•็œŸๅฆ™๏ผŒๅกžไธ€ๅ † props ็„ถๅพŒๆ‰€ๆœ‰้‚่ผฏ้ƒฝๅœจ่ฃก้ ญ XD
ๆœ‰ไบบ็”จ้Ž Compound components ็š„ๆฆ‚ๅฟตไพ†ๅšๆฑ่ฅฟๅ—Ž๏ฝž๏ผŸ
้€™็จฎ API design ๅ• @mofas ๆœ‰ๆ„Ÿ
ไธ้Ž้€™็จฎๅฐ่ค‡้›œ็š„ component ไพ†่ชช๏ผŒconsumer ๅฏ่ƒฝๆœƒๅพˆ็—›่‹ฆ..
jihchi 08:53:49
https://twitter.com/yusinto/status/892191823740850176

cpp code in js via @webpack and @webassembly! @TheLarkInn @linclark #webpack @mozilla medium.com/webpack/webpacโ€ฆ
twitter
cpp code in js via <https://twitter.com/webpack|@webpack> and <https://twitter.com/webassembly|@webassembly>! <https://twitter.com/TheLarkInn|@TheLarkInn> <https://twitter.com/linclark|@linclark> #webpack <https://twitter.com/mozilla|@mozilla> <https://medium.com/webpack/webpack-awarded-125-000-from-moss-program-f63eeaaf4e15> <https://pbs.twimg.com/media/DGGywzUUQAAcG1j.jpg>
mrorz 10:31:49
็œ‹่ตทไพ†ๆฒ’ๅ•ฅ breaking change๏ผŒๆ™šไธŠๅฐฑไพ†ๅนซ rumors-site ๅ‡~
jihchi 10:32:09
oh yeah~~~~
jihchi 13:01:34
GitHub
create-react-app - Create React apps with no build configuration.
mrorz 14:21:55
Replied to a thread: 2017-08-09 08:49:03
้€™ๅšๆณ•็œŸๅฆ™๏ผŒๅกžไธ€ๅ † props ็„ถๅพŒๆ‰€ๆœ‰้‚่ผฏ้ƒฝๅœจ่ฃก้ ญ XD
ๆœ‰ไบบ็”จ้Ž Compound components ็š„ๆฆ‚ๅฟตไพ†ๅšๆฑ่ฅฟๅ—Ž๏ฝž๏ผŸ
mrorz 14:21:55
Jih-Chi Lee
https://twitter.com/kentcdodds/status/894980156670038016

๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ

npm install downshift@rc

First release candidate released! Please try it out! github.com/paypal/downshiโ€ฆ

:racing_car:๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ๐ŸŽ๏ธ
้€™ๅšๆณ•็œŸๅฆ™๏ผŒๅกžไธ€ๅ † props ็„ถๅพŒๆ‰€ๆœ‰้‚่ผฏ้ƒฝๅœจ่ฃก้ ญ XD ๆœ‰ไบบ็”จ้Ž Compound components ็š„ๆฆ‚ๅฟตไพ†ๅšๆฑ่ฅฟๅ—Ž๏ฝž๏ผŸ
jihchi 14:24:19
้€™็จฎ API design ๅ• @mofas ๆœ‰ๆ„Ÿ
jihchi 14:25:37
ไธ้Ž้€™็จฎๅฐ่ค‡้›œ็š„ component ไพ†่ชช๏ผŒconsumer ๅฏ่ƒฝๆœƒๅพˆ็—›่‹ฆ..
jihchi 17:49:33
GitHub
posterus - Composable async primitives (futures) with true cancelation, control over scheduling, and coroutines
jihchi 17:49:59
GitHub
posterus - Composable async primitives (futures) with true cancelation, control over scheduling, and coroutines
fetch() ้‚ฃ่ฃกๅœจ promise cancellation ็ˆ†็‚ธไน‹ๅพŒ๏ผŒๆœ‰้ปž่ฝ‰ๅ‘ observable
https://github.com/whatwg/fetch/issues/27
BTW cancelable promise proposal withdrawn ็š„่จŽ่ซ–ไธฒ๏ผšhttps://github.com/tc39/proposal-cancelable-promises/issues/70#issuecomment-267417532
jihchi 23:29:28
GitHub
resonance - :cyclone: Resonance | Data-driven transitions in React
2017-08-10
mrorz 01:26:47
fetch() ้‚ฃ่ฃกๅœจ promise cancellation ็ˆ†็‚ธไน‹ๅพŒ๏ผŒๆœ‰้ปž่ฝ‰ๅ‘ observable
https://github.com/whatwg/fetch/issues/27
GitHub
Goal Provide developers with a method to abort something initiated with fetch() in a way that is not overly complicated. Previous discussion #20 slightlyoff/ServiceWorker#592 slightlyoff/ServiceWo...
mrorz 01:28:45
BTW cancelable promise proposal withdrawn ็š„่จŽ่ซ–ไธฒ๏ผšhttps://github.com/tc39/proposal-cancelable-promises/issues/70#issuecomment-267417532
GitHub
My apologizes in advance if I've missed something, but it seems this proposal has been abruptly withdrawn without much explanation. Is there a reason why?
jihchi 09:27:28
intoli.com
Using MitmProxy and injected JavaScript feature mocks to bypass Headless Chrome detection tests.
jihchi 09:46:59
GitHub
My apologizes in advance if I've missed something, but it seems this proposal has been abruptly withdrawn without much explanation. Is there a reason why?
jihchi 10:06:22
Medium
Heya :wave:, today weโ€™re releasing choo v6.0.0. After 5 release candidates, we're happy to finally share it with the world. We're also happy to share create-choo-app, <http://github.com/choojs|github.com/choojs>, and nanocomponentโ€ฆ
https://github.com/patrick-steele-idem/morphdom#benchmarks ้€™ๅ€‹ไนŸๆปฟๅฆ™็š„
็”จ ms ๆ นๆœฌๆ„Ÿ่ฆบไธๅ‡บไพ†ๅทฎ็•ฐๅ•Š..
ไป–ๅฏไปฅ diff virtual dom v.s. real dom ๆˆ‘่ฆบๅพ—ๅพˆๆœ‰่ถฃ
ๆ‰€ไปฅ framework ้€™่ฃกๅฏไปฅๅ‡บ virtual dom
ไพ†่ทŸ real dom ๆฏ”่ผƒ
ไธ้Ž่€ๅฏฆ่ฌ›้€™ๆจฃๆฒ’ๆœ‰่งฃๆฑบๅˆฐ็ฌฌไธ‰ๆ–น library ่ฎŠๆ›ด dom ็š„ๅ•้กŒ
ๅ› ็‚บๅช่ฆ framework ๆฒ’ๆœ‰ aware of dom change
framework ๅช่ฆไธ€ re-render ๅฐฑๆœƒๆŠŠ็ฌฌไธ‰ๆ–น library ๆ‰€ๆ”น็š„ dom ็ตฆๆ•ดๅ€‹ๆ›ฟไปฃๆމ
ๆ‰€ไปฅ้›–็„ถ https://github.com/patrick-steele-idem/morphdom#what-about-the-virtual-dom ้€™่ฃก๏ผŒๆŠŠไธ‹้ข้€™้ปžๅˆ—็‚บ virtual dom ็š„็ผบ้ปž๏ผš
> The real DOM cannot be modified behind the scenes (e.g., no jQuery) because the diff is done against the virtual DOM tree

ไป–ๅ…ถๅฏฆๆฒ’ๆœ‰ๆŒ‡ๅ‡บ๏ผŒไฝฟ็”จไบ† morphdom ็š„ UI framework ๅ…ถๅฏฆไนŸ็„กๆณ•็›ดๆŽฅ่™•็†้€™ๅ€‹ๅ•้กŒ
้€™ไธๆ˜ฏไบŒๆ“‡ไธ€ๅ—Ž..
mrorz 11:21:36
https://github.com/patrick-steele-idem/morphdom#benchmarks ้€™ๅ€‹ไนŸๆปฟๅฆ™็š„
GitHub
morphdom - Fast and lightweight DOM diffing/patching (no virtual DOM needed)
jihchi 11:23:09
็”จ ms ๆ นๆœฌๆ„Ÿ่ฆบไธๅ‡บไพ†ๅทฎ็•ฐๅ•Š..
mrorz 11:24:00
ไป–ๅฏไปฅ diff virtual dom v.s. real dom ๆˆ‘่ฆบๅพ—ๅพˆๆœ‰่ถฃ
mrorz 11:24:15
ๆ‰€ไปฅ framework ้€™่ฃกๅฏไปฅๅ‡บ virtual dom
mrorz 11:24:29
ไพ†่ทŸ real dom ๆฏ”่ผƒ
mrorz 11:25:30
ไธ้Ž่€ๅฏฆ่ฌ›้€™ๆจฃๆฒ’ๆœ‰่งฃๆฑบๅˆฐ็ฌฌไธ‰ๆ–น library ่ฎŠๆ›ด dom ็š„ๅ•้กŒ
ๅ› ็‚บๅช่ฆ framework ๆฒ’ๆœ‰ aware of dom change
framework ๅช่ฆไธ€ re-render ๅฐฑๆœƒๆŠŠ็ฌฌไธ‰ๆ–น library ๆ‰€ๆ”น็š„ dom ็ตฆๆ•ดๅ€‹ๆ›ฟไปฃๆމ
mrorz 11:26:17
ๆ‰€ไปฅ้›–็„ถ https://github.com/patrick-steele-idem/morphdom#what-about-the-virtual-dom ้€™่ฃก๏ผŒๆŠŠไธ‹้ข้€™้ปžๅˆ—็‚บ virtual dom ็š„็ผบ้ปž๏ผš
> The real DOM cannot be modified behind the scenes (e.g., no jQuery) because the diff is done against the virtual DOM tree

ไป–ๅ…ถๅฏฆๆฒ’ๆœ‰ๆŒ‡ๅ‡บ๏ผŒไฝฟ็”จไบ† morphdom ็š„ UI framework ๅ…ถๅฏฆไนŸ็„กๆณ•็›ดๆŽฅ่™•็†้€™ๅ€‹ๅ•้กŒ
GitHub
morphdom - Fast and lightweight DOM diffing/patching (no virtual DOM needed)
jihchi 11:26:58
้€™ไธๆ˜ฏไบŒๆ“‡ไธ€ๅ—Ž..
jihchi 18:46:34
Node v8.3.0 (Current) | Node.js
https://nodejs.org/en/blog/release/v8.3.0/

The V8 engine has been upgraded to version 6.0, which has a significantly changed performance profile. #14574
2017-08-11
jihchi 08:42:26
twitter
Lots to share in the <https://twitter.com/code|@code> July update! Download: <https://code.visualstudio.com/download>. See what's new: <https://code.visualstudio.com/updates/v1_15>. <https://pbs.twimg.com/media/DG4iT_bUMAIsKY0.jpg>
jihchi 08:44:43
twitter
Enable ES modules in Node today with a new module loader! <https://medium.com/web-on-the-edge/es-modules-in-node-today-32cff914e4b>
jihchi 08:47:54
https://twitter.com/thejameskyle/status/895663088191406080

This is such a great drag and drop react component by @alexandereardon give it a star: github.com/atlassian/reacโ€ฆ
twitter
This is such a great drag and drop react component by <https://twitter.com/alexandereardon|@alexandereardon> give it a star: <https://github.com/atlassian/react-beautiful-dnd>
jihchi 08:55:43
https://twitter.com/wsokra/status/895670939257405441

A sad result for spec understandability...

Not even sure if I got this correct...
twitter
A sad result for spec understandability... Not even sure if I got this correct... <https://pbs.twimg.com/media/DG4P8nxXoAE-MZK.jpg>
jihchi 09:24:00
https://www.churchwood.at/posts/a-farewell-to-go/

่ซ–้ปžๆœ‰้ปž่™›ๅผฑโ‹ฏ
jihchi 21:44:54
GitHub
esm - ES modules in Node today!
2017-08-13
mofas 05:51:48
twitter
Enjoying โ€œGame Programming Patternsโ€. I think this book is a required reading for UI engineers. Practical and fun. <http://gameprogrammingpatterns.com/>
2017-08-14
mrorz 16:46:26
ๆˆ‘ไป”็ดฐ็œ‹ storyshot ๅ‡บไพ†็š„ๆฑ่ฅฟๆ‰็™ผ็พ๏ผŒๅฆ‚ๆžœไฝ ็š„ storybook ่ฃก storyshot ่ˆ‡ info addon ไธ€่ตท็”จ็š„่ฉฑ๏ผŒ้‚ฃ info addon ็š„ๅณไธŠ่ง’้‚ฃ้ก† โ€œmore infoโ€ ๆŒ‰้ˆ•ไนŸๆœƒ่ท‘้€ฒ storyshot ็š„ snapshot ่ฃก้ ญโ‹ฏโ‹ฏๅ›ง
mrorz 16:46:28
GitHub
Why Currently addon-info shows component info in the preview pane alongside each story. This behavior differs from typical addons, that display their info in the addons panel. Modifying the behavio...
@evenchange4 Brilliant!
ๆˆ‘ๅ€‘ๆ›ๆˆๆ–ฐ็š„ syntax ไบ†ๆ‰€ไปฅๆฒ’ๆœ‰ `addWithInfo`๏ผˆhttps://github.com/storybooks/storybook/tree/master/addons/info#usage-with-options๏ผ‰
ไฝ†ๆ–ฐ syntax ๆ›ดๆ–นไพฟ็”จ jest ไพ† mock
Michael Hsu 2017-08-14 16:55:16
ๅŽŸไพ†ๆœ‰ๆ›ดๆ–ฐไบ†ๅ•Š๏ผ
storyshot addon v3.2 + info addon v3.2 ็š„ mock ๆณ•๏ผš

in `Storyshots.test.js`
```
import initStoryshots from '@storybook/addon-storyshots';
const addonInfo = require('@storybook/addon-info');
addonInfo.withInfo = () => storyFn => storyFn;

initStoryshots();

```
mrorz 16:52:48
@evenchange4 Brilliant!
ๆˆ‘ๅ€‘ๆ›ๆˆๆ–ฐ็š„ syntax ไบ†ๆ‰€ไปฅๆฒ’ๆœ‰ `addWithInfo`๏ผˆhttps://github.com/storybooks/storybook/tree/master/addons/info#usage-with-options๏ผ‰
ไฝ†ๆ–ฐ syntax ๆ›ดๆ–นไพฟ็”จ jest ไพ† mock
GitHub
storybook - :notebook: Interactive development &amp; testing environment for React and React-Native UI components
  • ๐Ÿ’ฏ1
Michael Hsu 16:55:16
ๅŽŸไพ†ๆœ‰ๆ›ดๆ–ฐไบ†ๅ•Š๏ผ
mrorz 17:13:04
storyshot addon v3.2 + info addon v3.2 ็š„ mock ๆณ•๏ผš

in `Storyshots.test.js`
```
import initStoryshots from '@storybook/addon-storyshots';
const addonInfo = require('@storybook/addon-info');
addonInfo.withInfo = () => storyFn => storyFn;

initStoryshots();

```
Nicolas 18:24:04
I see nothing wrong there. The `undefined` you're getting is just how the REPL deals with assignments, and has nothing to do with your f or g functions or the fact you used `=>` to write them.
2017-08-15
jihchi 18:46:59
https://twitter.com/umaar/status/897408737694109697

Canary DevTools Update: top-level await is now supported :confetti_ball: makes debugging & quick experimentations simpler, no need for an async function :white_check_mark:
twitter
Canary DevTools Update: top-level await is now supported :confetti_ball: makes debugging &amp; quick experimentations simpler, no need for an async function :white_check_mark: <https://pbs.twimg.com/media/DHQ8HcOWsAAtEx9.png>
jihchi 18:49:39
https://twitter.com/malyw/status/897407124019359744

Front-End Dev Bookmarks:
Nice, a manually curated collection of resources for front-end web developers.
github.com/dypsilon/frontโ€ฆ
twitter
Front-End Dev Bookmarks: Nice, a manually curated collection of resources for front-end web developers. <https://github.com/dypsilon/frontend-dev-bookmarks> <https://pbs.twimg.com/media/DHQfopAXYAA4K-A.jpg>
2017-08-16
mofas 08:11:03
Well, this article is little far away from FE-tech. But I think LLVM and compiler is also an important part of FE.
jihchi 10:48:00
twitter
So glad we didnโ€™t enable decorators in CRA despite the popularity. The stage 2 version looks quite different to me. <https://twitter.com/left_pad/status/897470712277028864>
twitter
:raised_hands: <https://twitter.com/PeeyFTW|@PeeyFTW> submitted a WIP PR for Stage 2 Decorators! Huge shoutout for this monumental work (a long time coming) <https://github.com/babel/babel/pull/6107>
2017-08-17
mofas 04:47:39
Medium
Recently, I started tinkering with OCaml. Itโ€™s Very Funโ„ข, which makes it a great fit for a quick side project. So, for a few hours thisโ€ฆ
mofas 08:10:19
twitter
Excited to have released Relay v1.2.0 - best version yet! <https://github.com/facebook/relay/releases/tag/v1.2.0>
ๆฏ”่ตท้€™ๅ€‹ๆˆ‘ๆฏ”่ผƒๆœŸๅพ…ๆ›ดๅฎŒๆ•ด็š„ relay-modern ๆ–‡ไปถ orz
mofas 08:11:12
twitter
Introducing Puppeteer: A modern Node.js API for headless Chrome. Built with :heart: by the Chrome team. <https://github.com/GoogleChrome/puppeteer#readme> <https://pbs.twimg.com/media/DHXIZ-4XkAAU9eq.jpg>
https://github.com/graphcool/chromeless ้€™ project ่ฆ ๏ผง๏ผงไบ†ใ€‚ไธ้ŽไนŸๆฒ’ๅทฎ๏ผŒmaintainer ไนŸไธๅคช็ถญ่ญท
mofas 08:16:49
ๆœ‰้€™ๆฑ่ฅฟ่ฆๆˆชๅœ–ๅฐฑ่ถ…็ฐกๅ–ฎๆƒน
mofas 08:17:27
end-end testing ไนŸ็ง’ๆฎบ (support Chrome only)
jihchi 08:43:48
https://twitter.com/icelabaratory/status/897937175496593408

New recompose release github.com/acdlite/recompโ€ฆ
preact, inferno, flow 0.53 support
cc @wu_ct @deepsweet @_developit @acdlite @flowtype
twitter
New recompose release <https://github.com/acdlite/recompose/releases/tag/v0.25.0> preact, inferno, flow 0.53 support cc <https://twitter.com/wu_ct|@wu_ct> <https://twitter.com/deepsweet|@deepsweet> <https://twitter.com/_developit|@_developit> <https://twitter.com/acdlite|@acdlite> <https://twitter.com/flowtype|@flowtype>
jihchi 09:45:35
https://github.com/graphcool/chromeless ้€™ project ่ฆ ๏ผง๏ผงไบ†ใ€‚ไธ้ŽไนŸๆฒ’ๅทฎ๏ผŒmaintainer ไนŸไธๅคช็ถญ่ญท
GitHub
chromeless - :desktop_computer: Chrome automation made simple. Runs locally or headless on AWS Lambda.
2017-08-18
jihchi 08:44:54
https://twitter.com/thekitze/status/898167408841588736

๐Ÿ“ฃ Want to use create-react-app with the new webpack-dashboard from @FormidableLabs?

I just released github.com/kitze/custom-rโ€ฆ 0.2.0 :tada:๐Ÿ‘Œ
twitter
:mega: Want to use create-react-app with the new webpack-dashboard from <https://twitter.com/FormidableLabs|@FormidableLabs>? I just released <https://github.com/kitze/custom-react-scripts> 0.2.0 :tada::ok_hand:
jihchi 08:46:50
https://twitter.com/compuives/status/898150345892925440

transform.now.sh is really impressive. Just give it a JSON response and it will generate type definitions for you.
twitter
<http://transform.now.sh> is really impressive. Just give it a JSON response and it will generate type definitions for you. <https://pbs.twimg.com/media/DHbex9wXcAACVy0.jpg>
jihchi 08:55:02
https://twitter.com/cpojer/status/897864538221158400

In Node 8.4 debugging finally works with `node --inspect --inspect-brk node_modules/bin/jest`. Thanks @fhinkel et al
twitter
In Node 8.4 debugging finally works with `node --inspect --inspect-brk node_modules/bin/jest`. Thanks <https://twitter.com/fhinkel|@fhinkel> et al <https://github.com/facebook/jest/issues/1652#issuecomment-322834017>
jihchi 09:54:25
GitHub
vim-bootstrap - Vim Bootstrap is generator provides a simple method of generating a .vimrc configuration for vim
jihchi 10:00:20
GitHub
oao - A Yarn-based, opinionated monorepo management tool
OAO
AoA
yhsiang 10:03:04
OAO
jihchi 10:03:18
AoA
jihchi 18:54:16
THIS THING DELETED 3 MONTHS OF WORK!!!! ยท Issue #32405 ยท Microsoft/vscode ยท GitHub
http://cc.bingj.com/cache.aspx?d=1462716999241&mkt=de-DE&setlang=en-US&w=xEsMxqoa0KJSwMsTh3p_8w2qryykfDvB
2017-08-19
jihchi 17:20:23
twitter
Oh btw, React Fiber's inspiration came from OCaml <https://twitter.com/sebmarkbage/status/898404059995971585>
twitter
<https://twitter.com/jlongster|@jlongster> <https://twitter.com/wycats|@wycats> <https://twitter.com/littlecalculist|@littlecalculist> And OCaml's strategy around algebraic effects with delimitated continuations give you opt-out regions where you can regain safety.
mrorz 17:37:37
ๆ’žๅˆฐไบ† eslint ็š„ bug ไน‹ๅพŒ๏ผŒ็™ผ็พๅ…ถๅฏฆๆœ‰ไบบๆ˜ฏๅๅฐๆŠŠ `render()` ๆ‹†ๆˆๅพˆๅคš `renderXXX` ็š„ใ€‚ @cjies ๆ€Ž้บผ็œ‹ๅ‘ข
https://github.com/yannickcr/eslint-plugin-react/issues/1200
GitHub
The code below shows the bug: import React from 'react'; class CustomComponent extends React.Component {} /** @extends React.Component */ export default class MyComponent extends CustomComponent ...
mrorz 17:38:28
ไป–ๆ˜ฏ่ดŠๆˆ็„ก่ซ–ๅคšๅฐ้ƒฝ่ฉฒๅฏซๆˆ SFC
mrorz 17:39:02
props ๅ•้กŒไป–ๆฒ’ๆœ‰ๆ๏ผŒไฝ†ๆˆ‘็Œœไป–ๆœƒ่ชชใ€Œๅฐฑ็”จ `...this.props` ๅ›‰ใ€
2017-08-20
mofas 05:02:27
twitter
I spent a few weeks building a Preact compiler. IN: Polymer, Vue &amp; Preact single-file components OUT: highly optimized Preact components <https://pbs.twimg.com/media/DHm36FBUAAALycD.jpg>
mofas 05:02:32
It is cool stuff
mrorz 21:59:29
ๆŒบๆœ‰่ถฃ
mofas 22:15:53
twitter
Announcing โ€˜redocxโ€™ - A library to create word documents with React <https://github.com/nitin42/redocx> #reactjs :sunglasses:
mofas 22:16:07
็พๅœจ้ƒฝๆ˜ฏๅ„็จฎtransformer
mofas 22:16:18
ๅคงcompilerๆ™‚ไปฃ่ฆไพ†่‡จๅ•ฆ
jihchi 23:44:56
GitHub
pretty-algorithms - :ocean: Pretty, common and useful algorithms with modern JS and beautiful tests
2017-08-21
jihchi 09:08:41
twitter
1. My bank's web app is ultra shitty 2. I wanted to try puppeteer So I wrote this script that logs me in and gets my current amount :ok_hand: <https://pbs.twimg.com/media/DHrYUUlXoAEFOMs.jpg>
jihchi 10:03:30
GitHub
sailboat - NSOAP Router for ReactJS
2017-08-23
mrorz 10:03:29
ๆฏ”่ตท้€™ๅ€‹ๆˆ‘ๆฏ”่ผƒๆœŸๅพ…ๆ›ดๅฎŒๆ•ด็š„ relay-modern ๆ–‡ไปถ orz
jihchi 18:49:44
twitter
I just published โ€œRxJS Observable interop with Promises and Async-Awaitโ€ <https://medium.com/p/rxjs-observable-interop-with-promises-and-async-await-bebb05306875>
jihchi 21:51:56
GitHub
animate-css-styled-components - simple port of animate css for styled-components
2017-08-24
jihchi 09:58:21
GitHub
rendertron - A dockerized, headless Chrome rendering solution
jihchi 18:44:12
https://twitter.com/muneeb/status/900419716749119488

Microsoft is now the largest contributor to open-source on GitHub. The times they are a-changin.
twitter
Microsoft is now the largest contributor to open-source on GitHub. The times they are a-changin. <https://pbs.twimg.com/media/DH7u9QqW0AAGoqW.jpg>
jihchi 18:46:46
https://twitter.com/sarah_edo/status/900521149880074240

Unpopular opinion: I don't want one framework to "win". I'm pretty happy getting to choose based on my needs & them learning from eachother
twitter
Unpopular opinion: I don't want one framework to "win". I'm pretty happy getting to choose based on my needs &amp; them learning from eachother
2017-08-25
mofas 07:46:31
ๆƒณๅšไธ€ไธ‹ๅฐ่ชฟๆŸฅ..
ๆœ‰่ชฐๅฏไปฅๅพ’ๆ‰‹ไธๆŸฅcode ๅฏซๅ‡บ ackermann function ๆˆ–ๆ˜ฏ y-combinator ็š„
jihchi 09:00:12
https://twitter.com/rauschma/status/900736503571197953

Fantastic development: โ€œitโ€™s now possible to maintain one codebase and ship an extension in multiple browsersโ€
hacks.mozilla.org/2017/08/introdโ€ฆ
twitter
Fantastic development: โ€œitโ€™s now possible to maintain one codebase and ship an extension in multiple browsersโ€ <https://hacks.mozilla.org/2017/08/introducing-the-extension-compatibility-tester/>
jihchi 09:00:45
https://twitter.com/reactrally/status/900727107675750400

If you are unable to be with us in person our live stream will be starting in 30 minutes. reactrally.com/stream
twitter
If you are unable to be with us in person our live stream will be starting in 30 minutes. <http://www.reactrally.com/stream>
jihchi 09:03:45
https://twitter.com/burkeholland/status/900753891486310400

This will blow your mind: Exports AutoComplete for @code can auto-import your @reactjs components straight from JSX marketplace.visualstudio.com/items?itemNameโ€ฆ
twitter
This will blow your mind: Exports AutoComplete for <https://twitter.com/code|@code> can auto-import your <https://twitter.com/reactjs|@reactjs> components straight from JSX <https://marketplace.visualstudio.com/items?itemName=capaj.vscode-exports-autocomplete>
jihchi 14:57:01
https://github.com/Microsoft/vscode/issues/33090 vscode-insider ๅทฒ็ถ“ๆ› icon ไบ†
GitHub
VSCode Version: Code - Insiders 1.16.0-insider (936fc3f, 2017-08-24T08:26:28.878Z) OS Version: Windows_NT x64 10.0.15063 Extensions: Extension Author (truncated) Version team ms- 1.122.0 T...
jihchi 19:00:17
https://twitter.com/chromiumdev/status/900907231830392833

*Puppeteer 0.10.0* - Node 6 support, cookies API, new API methods, bugs fixes, upstream changes to Chrome DevTools.
twitter
*Puppeteer 0.10.0* - Node 6 support, cookies API, new API methods, bugs fixes, upstream changes to Chrome DevTools. <https://github.com/GoogleChrome/puppeteer/releases/tag/v0.10.0>
jihchi 19:00:57
https://twitter.com/james_k_nelson/status/900648278127026176

I use @dan_abramov's presentation/container components, but also use "Control components" and "controllers" reactarmory.com/answers/how-shโ€ฆ #reactjs
twitter
I use <https://twitter.com/dan_abramov|@dan_abramov>'s presentation/container components, but also use "Control components" and "controllers" <https://reactarmory.com/answers/how-should-i-separate-components> #reactjs
2017-08-26
mofas 01:20:10
https://twitter.com/reactrally/status/901089297834450944

ๅŒๆ™‚ๅ€็š„ๅฅฝ่™•
twitter
Live stream for day two is now available. <http://www.reactrally.com/stream>
  • ๐Ÿ˜1
jihchi 13:26:46
twitter
Finally, you can help translate React docs into other languages! :heart_eyes: Thanks <https://twitter.com/ericnakagawa|@ericnakagawa>. Start contributing: <https://crowdin.com/project/react> <https://pbs.twimg.com/media/DIGdAvbU0AAcBR-.jpg>
mofas 21:53:44
twitter
Thank you so much <https://twitter.com/ReactRally|@ReactRally> for having me! Here are my slides on Finite State Machines: <http://slides.com/davidkhourshid/finite-state-machines>
2017-08-27
mofas 09:18:58
One of the best talk in React Rally!
2017-08-29
Michael Hsu 09:25:37
> Just released prettier 1.6. It finally has a config file and prints JSX more in line with the open source community!
https://twitter.com/Vjeux/status/902200727312916481
twitter
Just released prettier 1.6. It finally has a config file and prints JSX more in line with the open source community! <https://github.com/prettier/prettier/releases/tag/1.6.0>
  • 1
ggm 10:56:35
GitHub
oni - Oni: An IDE powered by Neovim
ๆ„Ÿ่ฆบ้‚„ไธ่ณด
mrorz 11:30:02
oni ๏ผˆใŠใซ๏ผ้ฌผ๏ผ‰ ้ธๅœจ้ฌผๆœˆๅˆ†ไบซ็œŸๆ‡‰ๆ™ฏ
  • ๐Ÿ‘ป2
jihchi 14:30:55
ๆ„Ÿ่ฆบ้‚„ไธ่ณด
Michael Hsu 14:53:20
https://github.com/jaredpalmer/formik
ๆœ‰ๆŽจ่–ฆ form ็‹€ๆ…‹็ฎก็† / validation ้ƒฝ็”จๅ“ชๅฅ—ๅ—Ž
GitHub
formik - Forms in React, without tears :sob:
jihchi 14:55:54
formik ๆญ็š„ Yup ้‚„ไธ้Œฏ
  • ๐Ÿ‘1
2017-08-30
yueh 11:40:47
@yueh has joined the channel
2017-08-31
jihchi 21:10:50
GitHub
r2 - HTTP client. Spiritual successor to request.