サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ブラックフライデー
simonsmith.io
If you spend any time writing React then you’ll find a common task is managing components and their props. This post will detail a pattern that I’ve found works quite well. A Profile Let’s imagine a Profile component that would be responsible for displaying a username: import React from 'react' ; const { div } = React . DOM ; const Profile = props => div ({}, this . props . username ); export defa
Headless testing with Jasmine, PhantomJS and Grunt February 5 2014 It’s hard to find a good excuse not to test your JavaScript these days. Previously it was a pain to write unit tests. One had to wire up an HTML spec runner page, include various dependencies and then manually refresh the page to see the test results. Whilst this was bearable it certainly made automation a pain. Nowadays we have a
このページを最初にブックマークしてみませんか?
『simonsmith.io』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く