markdown [HOB - 良好做法] #tips #hob

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown [HOB - 良好做法] #tips #hob相关的知识,希望对你有一定的参考价值。

*Redux:*

- use children to get the children properties from a component to pass the to their children , eg: { children } = this.props.
- isolate createStore in its own file. DONE
- add local State type for each FeatureState.js

*CSS:*

- use composes for adding multi classes.

*HTML*

- don't use HTML tags without meaning (div, span) instead of this crate components with those tags inside.

*Tests:*

- keep watch tests running in the background.
- use snapshots test, use enzyme library for testing snapshots properly. Mock every single selector / service that is outside from the functionality that we want to test.
- run just one test -> it(...) to fit(...)

以上是关于markdown [HOB - 良好做法] #tips #hob的主要内容,如果未能解决你的问题,请参考以下文章

UEFI基础HOB介绍

我的BIOS之行-hob的使用

REST API 错误返回良好做法 [关闭]

将 kafka 与 jpa 一起使用时的良好做法

读取和处理多个大型数据文件的良好做法?

创建数据可视化网站的良好做法是啥?