#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โฆ
Cool post from @JimPurbrick about testing optimistic consistency in replicated Redux with property based tests. jimpurbrick.com/2017/07/31/tesโฆ
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
Bundlephobia - the fear of installing a massive npm module.
I started checking all of my modules before installing๐ 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
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โฆ
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โฆ
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).
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โฆ
๐๐๐
๐๐๐
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โฆ
๐๐๐
: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โฆ
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โฆ
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
https://mobile.twitter.com/pankowecki/status/892294002040594434
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
https://mobile.twitter.com/o_cee/status/892306836199800836
---
cross-env v.s. crossenv
- ๐จ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
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
Nicolas
2017-08-14 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.
jihchi
21:27:06
2017-08-04
mofas
05:57:55
jihchi
2017-08-04 08:49:52
่ฎ่ฎใไนๅ่ฉฆไบไธไธ๏ผ้ฃ node_module ้ฝไธ้่ฆ๏ผไธๅ lerna ็จ link
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
I wrote a little demo to find out how virtual dom libs rearrange nodes in diffs codesandbox.io/s/BkLpXYQn
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)
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 ็ๅทฎๅฅ
ๅพไธ้ฏ็ไป็ดนๆ๏ผ่ฎไฝ ไบ่งฃ 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
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
mrorz
2017-08-09 10:31:49
็่ตทไพๆฒๅฅ breaking change๏ผๆไธๅฐฑไพๅนซ rumors-site ๅ~
jihchi
2017-08-09 10:32:09
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โฆ
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โฆ
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.
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.
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:๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ
๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ
npm install downshift@rc
First release candidate released! Please try it out! github.com/paypal/downshiโฆ
: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::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:
mrorz
2017-08-09 14:21:55
้ๅๆณ็ๅฆ๏ผๅกไธๅ props ็ถๅพๆๆ้่ผฏ้ฝๅจ่ฃก้ ญ XD
ๆไบบ็จ้ Compound components ็ๆฆๅฟตไพๅๆฑ่ฅฟๅ๏ฝ๏ผ
ๆไบบ็จ้ Compound components ็ๆฆๅฟตไพๅๆฑ่ฅฟๅ๏ฝ๏ผ
jihchi
2017-08-09 14:24:19
้็จฎ API design ๅ @mofas ๆๆ
jihchi
2017-08-09 14:25:37
ไธ้้็จฎๅฐ่ค้็ 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โฆ
cpp code in js via @webpack and @webassembly! @TheLarkInn @linclark #webpack @mozilla medium.com/webpack/webpacโฆ
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 ็ๆฆๅฟตไพๅๆฑ่ฅฟๅ๏ฝ๏ผ
ๆไบบ็จ้ 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:๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ๐๏ธ
- Forwarded from #frontend-tech
- 2017-08-09 08:49:03
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
WHY ??? >> https://github.com/Mitranim/posterus#why
GitHub
posterus - Composable async primitives (futures) with true cancelation, control over scheduling, and coroutines
mrorz
2017-08-10 01:26:47
fetch() ้ฃ่ฃกๅจ promise cancellation ็็ธไนๅพ๏ผๆ้ป่ฝๅ observable
https://github.com/whatwg/fetch/issues/27
https://github.com/whatwg/fetch/issues/27
mrorz
2017-08-10 01:28:45
BTW cancelable promise proposal withdrawn ็่จ่ซไธฒ๏ผhttps://github.com/tc39/proposal-cancelable-promises/issues/70#issuecomment-267417532
jihchi
2017-08-10 09:46:59
recap ๅฏไปฅ็้๏ผ https://github.com/tc39/proposal-cancelable-promises/issues/70#issuecomment-268111665
jihchi
23:29:28
2017-08-10
mrorz
01:26:47
fetch() ้ฃ่ฃกๅจ promise cancellation ็็ธไนๅพ๏ผๆ้ป่ฝๅ observable
https://github.com/whatwg/fetch/issues/27
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
recap ๅฏไปฅ็้๏ผ https://github.com/tc39/proposal-cancelable-promises/issues/70#issuecomment-268111665
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โฆ![]()
mrorz
2017-08-10 11:21:36
https://github.com/patrick-steele-idem/morphdom#benchmarks ้ๅไนๆปฟๅฆ็
jihchi
2017-08-10 11:23:09
็จ ms ๆ นๆฌๆ่ฆบไธๅบไพๅทฎ็ฐๅ..
mrorz
2017-08-10 11:24:00
ไปๅฏไปฅ diff virtual dom v.s. real dom ๆ่ฆบๅพๅพๆ่ถฃ
mrorz
2017-08-10 11:24:15
ๆไปฅ framework ้่ฃกๅฏไปฅๅบ virtual dom
mrorz
2017-08-10 11:24:29
ไพ่ท real dom ๆฏ่ผ
mrorz
2017-08-10 11:25:30
ไธ้่ๅฏฆ่ฌ้ๆจฃๆฒๆ่งฃๆฑบๅฐ็ฌฌไธๆน library ่ฎๆด dom ็ๅ้ก
ๅ ็บๅช่ฆ framework ๆฒๆ aware of dom change
framework ๅช่ฆไธ re-render ๅฐฑๆๆ็ฌฌไธๆน library ๆๆน็ dom ็ตฆๆดๅๆฟไปฃๆ
ๅ ็บๅช่ฆ framework ๆฒๆ aware of dom change
framework ๅช่ฆไธ re-render ๅฐฑๆๆ็ฌฌไธๆน library ๆๆน็ dom ็ตฆๆดๅๆฟไปฃๆ
mrorz
2017-08-10 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 ๅ ถๅฏฆไน็กๆณ็ดๆฅ่็้ๅๅ้ก
> 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 ๅ ถๅฏฆไน็กๆณ็ดๆฅ่็้ๅๅ้ก
jihchi
2017-08-10 11:26:58
้ไธๆฏไบๆไธๅ..
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 ็ตฆๆดๅๆฟไปฃๆ
ๅ ็บๅช่ฆ 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 ๅ ถๅฏฆไน็กๆณ็ดๆฅ่็้ๅๅ้ก
> 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
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
https://twitter.com/code/status/895691105752281089
Lots to share in the @code July update! Download: code.visualstudio.com/download. See what's new: code.visualstudio.com/updates/v1_15.
Lots to share in the @code July update! Download: code.visualstudio.com/download. See what's new: code.visualstudio.com/updates/v1_15.
jihchi
08:44:43
https://twitter.com/jdalton/status/895695587412066304
Lots to share in the @code July update! Download: code.visualstudio.com/download. See what's new: code.visualstudio.com/updates/v1_15.
Lots to share in the @code July update! Download: code.visualstudio.com/download. See what's new: code.visualstudio.com/updates/v1_15.
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โฆ
This is such a great drag and drop react component by @alexandereardon give it a star: github.com/atlassian/reacโฆ
jihchi
08:55:43
https://twitter.com/wsokra/status/895670939257405441
A sad result for spec understandability...
Not even sure if I got this correct...
A sad result for spec understandability...
Not even sure if I got this correct...
jihchi
09:24:00
jihchi
21:44:54
2017-08-13
mofas
05:51:48
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...
Michael Hsu
2017-08-14 16:49:56
jest setup ๆๅฏไปฅ mock ๆ๏ผ
https://github.com/MCS-Lite/mcs-lite/blob/master/packages/mcs-lite-ui/.storybook/storyshots-setup.js#L5-L14
https://github.com/MCS-Lite/mcs-lite/blob/master/packages/mcs-lite-ui/.storybook/storyshots-setup.js#L5-L14
mrorz
2017-08-14 16:52:48
@evenchange4 Brilliant!
ๆๅๆๆๆฐ็ syntax ไบๆไปฅๆฒๆ `addWithInfo`๏ผhttps://github.com/storybooks/storybook/tree/master/addons/info#usage-with-options๏ผ
ไฝๆฐ syntax ๆดๆนไพฟ็จ jest ไพ mock
ๆๅๆๆๆฐ็ 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
ๅไพๆๆดๆฐไบๅ๏ผ
mrorz
2017-08-14 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();
```
in `Storyshots.test.js`
```
import initStoryshots from '@storybook/addon-storyshots';
const addonInfo = require('@storybook/addon-info');
addonInfo.withInfo = () => storyFn => storyFn;
initStoryshots();
```
Michael Hsu
16:49:56
jest setup ๆๅฏไปฅ mock ๆ๏ผ
https://github.com/MCS-Lite/mcs-lite/blob/master/packages/mcs-lite-ui/.storybook/storyshots-setup.js#L5-L14
https://github.com/MCS-Lite/mcs-lite/blob/master/packages/mcs-lite-ui/.storybook/storyshots-setup.js#L5-L14
mrorz
16:52:48
@evenchange4 Brilliant!
ๆๅๆๆๆฐ็ syntax ไบๆไปฅๆฒๆ `addWithInfo`๏ผhttps://github.com/storybooks/storybook/tree/master/addons/info#usage-with-options๏ผ
ไฝๆฐ syntax ๆดๆนไพฟ็จ jest ไพ mock
ๆๅๆๆๆฐ็ syntax ไบๆไปฅๆฒๆ `addWithInfo`๏ผhttps://github.com/storybooks/storybook/tree/master/addons/info#usage-with-options๏ผ
ไฝๆฐ syntax ๆดๆนไพฟ็จ jest ไพ mock
GitHub
storybook - :notebook: Interactive development & 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();
```
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:
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:
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โฆ
Front-End Dev Bookmarks:
Nice, a manually curated collection of resources for front-end web developers.
github.com/dypsilon/frontโฆ
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.
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
mrorz
2017-08-23 10:03:29
ๆฏ่ตท้ๅๆๆฏ่ผๆๅพ
ๆดๅฎๆด็ relay-modern ๆไปถ orz
mofas
08:11:12
jihchi
2017-08-17 09:45:35
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
New recompose release github.com/acdlite/recompโฆ
preact, inferno, flow 0.53 support
cc @wu_ct @deepsweet @_developit @acdlite @flowtype
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:๐
๐ฃ 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:๐
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.
transform.now.sh is really impressive. Just give it a JSON response and it will generate type definitions for you.
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
In Node 8.4 debugging finally works with `node --inspect --inspect-brk node_modules/bin/jest`. Thanks @fhinkel et al
jihchi
09:54:25
GitHub
vim-bootstrap - Vim Bootstrap is generator provides a simple method of generating a .vimrc configuration for vim
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
http://cc.bingj.com/cache.aspx?d=1462716999241&mkt=de-DE&setlang=en-US&w=xEsMxqoa0KJSwMsTh3p_8w2qryykfDvB
2017-08-19
mofas
09:01:12
Medium
Next.js is a framework for building universal React applications.![]()
mrorz
17:37:37
ๆๅฐไบ eslint ็ bug ไนๅพ๏ผ็ผ็พๅ
ถๅฏฆๆไบบๆฏๅๅฐๆ `render()` ๆๆๅพๅค `renderXXX` ็ใ @cjies ๆ้บผ็ๅข
https://github.com/yannickcr/eslint-plugin-react/issues/1200
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
mofas
05:02:32
It is cool stuff
mrorz
21:59:29
ๆบๆ่ถฃ
mofas
22:15:53
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
jihchi
10:03:30
2017-08-23
mrorz
10:03:29
ๆฏ่ตท้ๅๆๆฏ่ผๆๅพ
ๆดๅฎๆด็ relay-modern ๆไปถ orz
jihchi
18:49:44
jihchi
21:51:56
GitHub
animate-css-styled-components - simple port of animate css for styled-components
jihchi
22:20:41
2017-08-24
jihchi
09:58:21
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.
Microsoft is now the largest contributor to open-source on GitHub. The times they are a-changin.
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
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
2017-08-25
mofas
07:46:31
ๆณๅไธไธๅฐ่ชฟๆฅ..
ๆ่ชฐๅฏไปฅๅพๆไธๆฅcode ๅฏซๅบ ackermann function ๆๆฏ y-combinator ็
ๆ่ชฐๅฏไปฅๅพๆไธๆฅ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โฆ
Fantastic development: โitโs now possible to maintain one codebase and ship an extension in multiple browsersโ
hacks.mozilla.org/2017/08/introdโฆ
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
If you are unable to be with us in person our live stream will be starting in 30 minutes. 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โฆ
This will blow your mind: Exports AutoComplete for @code can auto-import your @reactjs components straight from JSX marketplace.visualstudio.com/items?itemNameโฆ
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.
*Puppeteer 0.10.0* - Node 6 support, cookies API, new API methods, bugs fixes, upstream changes to Chrome DevTools.
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
I use @dan_abramov's presentation/container components, but also use "Control components" and "controllers" reactarmory.com/answers/how-shโฆ #reactjs
2017-08-26
jihchi
00:52:42
jihchi
13:26:46
mofas
21:53:44
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
https://twitter.com/Vjeux/status/902200727312916481
1
jihchi
14:30:55
ๆ่ฆบ้ไธ่ณด
Michael Hsu
14:53:20
https://github.com/jaredpalmer/formik
ๆๆจ่ฆ form ็ๆ ็ฎก็ / validation ้ฝ็จๅชๅฅๅ
ๆๆจ่ฆ form ็ๆ ็ฎก็ / validation ้ฝ็จๅชๅฅๅ
2017-08-30
jihchi
09:28:47
Medium
Using GraphQL โ Why Facebook Now Owns You![]()
yueh
11:40:47
@yueh has joined the channel
2017-08-31
jihchi
21:10:50