牛牛是只🐱


  • Home

  • 分类

  • 文章

@babel/preset-env

Posted on 2018-09-10 | In translation

翻译自:https://babeljs.io/docs/en/babel-preset-env
Babel 7.0.0
@babel/preset-env 是一个智能preset,它使用最新的javascript规则,而不用因为环境不同(chrome,FF),调整对应的语法转化(和可选的浏览器polyfills)。这样可以更加便捷,你的bundles更加小。

Read more »

React Props

Posted on 2018-09-04 | In translation

翻译自:https://reactjs.org/docs/render-props.html

“render props”是实现React组件之间的共享代码的一个技巧。这种方式是利用React组件的属性。而这个属性是一个函数的形式。

Read more »

Hello World

Posted on 2018-08-30

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

12

luby xu

13 posts
2 categories
2 tags
© 2019 luby xu
Powered by Hexo
|
Theme — NexT.Muse v5.1.4