---
title: "Yanni Nightingale (@yanni4night) | Hashnode"
description: "Front-end Developer. Read the latest articles by Yanni Nightingale on Hashnode."
url: "https://hashnode.com/@yanni4night"
---

@yanni4night

# Yanni Nightingale

@yanni4night · Beijing · Joined August 2016

Front-end Developer

[Website](http://yanni4night.com/)

## Comments

[Thinking about encryption and performance, I think it is. But it will take a long time to spread.](https://hashnode.com/forums/thread/do-you-think-webassembly-is-the-future-of-the-web/comment/57faff7e2212efbdcbc3f44b)

Comment · Thread · Oct 10, 2016 · 1 · [Do you think WebAssembly is the future of the web ?](https://hashnode.com/forums/thread/do-you-think-webassembly-is-the-future-of-the-web)

[But there're some bugs, see https://github.com/philipwalton/flexbugs](https://hashnode.com/forums/thread/is-it-safe-to-use-flexbox/comment/57dd43f2c61e5b59729da1fd)

Comment · Thread · Sep 17, 2016 · 2 · [Is it safe to use flexbox?](https://hashnode.com/forums/thread/is-it-safe-to-use-flexbox)

[I think it is necessary sometimes. E.g, in componentDidMount().](https://hashnode.com/forums/thread/why-is-it-a-bad-idea-to-mix-jquery-and-react/comment/57dd43234a6aa43e72a98753)

Comment · Thread · Sep 17, 2016 · 1 · [Why is it a bad idea to mix jQuery and React?](https://hashnode.com/forums/thread/why-is-it-a-bad-idea-to-mix-jquery-and-react)

[I created a demo(v2ex-preact) with preact/redux/react-router/react-redux/react-router-redux. It works fine mostly, but I found a bug that the author promised to fix. I suggest you using preact-compat to make preact acting as react, in case you encounter some issues that matter to your application, you can switch to react quickly.](https://hashnode.com/forums/thread/have-you-used-preact-whats-your-experience/comment/57d60145314b9858e3221918)

Comment · Thread · Sep 12, 2016 · 1 · [Have you used Preact? What's your experience?](https://hashnode.com/forums/thread/have-you-used-preact-whats-your-experience)

[I created a demo(v2ex-preact) with preact/redux/react-router/react-redux/react-router-redux. It works fine mostly, but I found a bug that the author promised to fix. I suggest you using preact-compat to make preact acting as react, in case you encounter some issues that matter to your application, you can switch to react quickly.](https://hashnode.com/forums/thread/have-you-replaced-react-with-preact-in-any-project-what-are-the-pitfalls-to-lookout-for/comment/57d60121314b9858e3221912)

Comment · Thread · Sep 12, 2016 · 2 · [Have you replaced React with Preact in any project? What are the pitfalls to lookout for?](https://hashnode.com/forums/thread/have-you-replaced-react-with-preact-in-any-project-what-are-the-pitfalls-to-lookout-for)

[We use echarts, http://echarts.baidu.com/, in Chinese.](https://hashnode.com/forums/thread/what-is-your-choice-for-a-charting-library-in-javascript/comment/57cfd0de3f4d8e2a1947a1b0)

Comment · Thread · Sep 7, 2016 · 2 · [What is your choice for a charting library in JavaScript?](https://hashnode.com/forums/thread/what-is-your-choice-for-a-charting-library-in-javascript)

[My option is, "rem" and "em" are both unsafe for layout because of rounding to "px". I reject it.](https://hashnode.com/forums/thread/do-you-use-rem-and-em-units-for-margin-and-padding/comment/57cfd08bbd02114519f2fde7)

Comment · Thread · Sep 7, 2016 · 2 · [Do you use "rem" and "em" units for margin and padding?](https://hashnode.com/forums/thread/do-you-use-rem-and-em-units-for-margin-and-padding)

[Thanks. Dependency-tree IS in the memory, but that costs very little. The key is, every node transforms files(called Stream in panto.js) holds a copy of file content, that may takes a lot of memory. My solution is, if the size of content exceed 1Mb, save it to tmp file. I'm thinking about convert strings to buffer in the near future. And the stream idea is great, like gulp does, but I need to merge multiple processes into one. I'm considering how to implement that.](https://hashnode.com/posts/discarding-gulpjs-why-i-created-pantojs/57ce3d9ae5e41a2a5c24fab3/comment/57ce6eb38626a90b3b2370d7#reply-57cfc5442d6648bfbc19863f)

Reply · Article · Sep 7, 2016 · 1 · [Discarding Gulp.js — Why I created Panto.js](https://hashnode.com/posts/discarding-gulpjs-why-i-created-pantojs/57ce3d9ae5e41a2a5c24fab3)

[tree-shaking is the key, Webpack is good at "Single Page App", you can use rollup more flexibly](https://hashnode.com/forums/thread/the-future-of-project-bundlers-webpack-vs-rollup/comment/57be4b181351c2290bba1feb)

Comment · Thread · Aug 25, 2016 · 2 · [The future of project bundlers - webpack vs Rollup](https://hashnode.com/forums/thread/the-future-of-project-bundlers-webpack-vs-rollup)

[Agree, but fetch requires Promise, what is the best Promise polyfill ?](https://hashnode.com/posts/5-best-libraries-for-making-ajax-calls-in-react/57bd9cec93309a25047c5f66/comment/57be4457387df20e0b9f91e4)

Comment · Article · Aug 25, 2016 · 1 · [5 best libraries for making AJAX calls in React](https://hashnode.com/posts/5-best-libraries-for-making-ajax-calls-in-react/57bd9cec93309a25047c5f66)
