HuangQiii

Results 11 comments of HuangQiii

@ccyfly swift with react-native? i solve it by dray .h and .m in the project and use them

have you solved this problem,i have also met. hope help

i solve it i update my npm and node,then install the latest version of react-native-vector-icons,after link,everything runs

babel处理for中的let的方法,可以说是一种非常优雅的解决办法了 小鸡蛋里挑骨头: 最后一段`而预料之外的变量*之*的改变是很多 bug 的源头`,错别字🤭

@sulingLiang 扁平化不改变原数据啊,你的结果也显示了,string型的变成了数字都

其实我大部分情况下,都是用JSON.stringify来判断的

这篇文章写的很好,特别喜欢那个图=。= 附上我当时的测试代码,因为楼主的判断是第四位出现每个数字的次数,我觉得可以有个更直观的呈现,附上代码: ``` const fisherYates = () => { const array = [0, 1, 2, 3]; for (let i = 1; i < array.length; i++) { const random = Math.floor(Math.random()...

补充一个非常常见的场景,react中的HOC组合 调用很多HOC时,代码如下: ```js withRoute(observer(inject('Store')(Index))) ``` 可以预想,当HOC更多时会变得非常难以维护,可以用compose进行一定的阅读性提升 ```js const enhance = compose(withRoute, observer, inject('Store')); enhance(Index); ``` 因为HOC的本质就是接受一个组件并且返回一个组件的函数! 当然如果用装饰器就更方便了~ ```js @inject('Store') @withRoute @observer export default class Index extends Component { ... ......

[like this](https://github.com/HuangQiii/Analysis/blob/e1c394ed0e460ff5c6c432787b078a1b57bc5ffc/app/pages/Organization.js#L358) I use an out view and margin to solve it @amijabd

change dist command in you package like this: ```json "scripts": { "start": "choerodon-front-boot start --config ./react/config.js", "dist": "node --max_old_space_size=4096 node_modules/@choerodon/boot/bin/choerodon-front-boot-dist --config ./react/config.js", }, ``` expand old space size to solve...