サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
衆院選
jsramblings.com
You already know that you shouldn't actually test the result of calling connect (the connected component) - as Redux already makes sure the behaviour of connect is correct. Instead, you test your wrapped component separately, by exporting it as a named export. But what about mapStateToProps and mapDispatchToProps? This is custom code that could have bugs. The Redux docs don’t really mention an off
One of the first choices you need to make when starting a new project using React is what library to use for styling your components. There are a ton of options to choose from and the community hasn't yet reached a consensus of what is the best way to style components. So where do you start? Instead of going over each library in detail, I find it helps to first understand the high level picture -
このページを最初にブックマークしてみませんか?
『jsramblings.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く