News for hackers. Stuff that matters.

keyanzhang

Re:Why we chose Vue.js over React on Sunday December 11, 2016 @06:20PM (#13154094)
Re:Introducing React's Error Code System on Tuesday July 12, 2016 @05:14AM (#12077713)
The `reactProdInvariant` function [1] does the URL encoding job and the decoder on our documentation page is just a React component [2]. I totally understand your concern and for now you can simply edit the `reactProdInvariant` function to fit your needs.

[1] https://github.com/facebook/react/blob/master/src/shared/uti...

[2] https://github.com/facebook/react/blob/master/docs/_js/Error...

Re:Introducing React's Error Code System on Tuesday July 12, 2016 @02:21AM (#12077092)
This saves ~3KB gzipped (comparing to having all original error messages bundled in).
Re:Smart Air on Sunday November 03, 2013 @09:48PM (#6666453)
here's a discussion on zhihu.com (in Chinese): http://www.zhihu.com/question/21951887