<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for eldyvoon</title><link>http://disqus.com/by/eldyvoon/</link><description></description><atom:link href="http://disqus.com/eldyvoon/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 24 Oct 2020 04:59:15 -0000</lastBuildDate><item><title>Re: 身在马来西亚，如何在中国亚马逊购买kindle 电子书？</title><link>https://kindlemalaysia.com/amazon-china/#comment-5122845855</link><description>&lt;p&gt;how about now？can buy cn book via amazon cn？&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Sat, 24 Oct 2020 04:59:15 -0000</pubDate></item><item><title>Re: Do we have spirit, soul, and body or just soul and body?</title><link>https://taylormarshall.com/2016/12/spirit-soul-body-just-soul-body.html#comment-5081467750</link><description>&lt;p&gt;Hmm so how do we know whether we're in the spirit or in the mind? We need to pray every time we think or before we decide to do something?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Tue, 22 Sep 2020 21:01:22 -0000</pubDate></item><item><title>Re: React's useReducer vs Redux</title><link>https://www.robinwieruch.de/redux-vs-usereducer/#comment-4511887186</link><description>&lt;p&gt;The 3rd option `Use useState/useReducer + Redux` can be overkilled. Now you have 2 kind of reducers, one is of native react and one is redux's reducer, they looks similar but behave differently. I think when you chose to use redux, you need useState for local state, if your biz logic is complicated, just moved the states to redux, using useReducer + Redux can be really confusing and redundant in my opinion.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Sat, 22 Jun 2019 09:16:24 -0000</pubDate></item><item><title>Re: 一歩</title><link>http://xn--1-0x8b.top/2018/02/23/react-component-lifecycle/#comment-3815352009</link><description>&lt;p&gt;请教一下，何时用componentDidUpdate呢？我经常经常会这样写&lt;/p&gt;&lt;p&gt;componentDidUpdate(prevProps, prevState) {&lt;br&gt;      if(prevState.seleted !== this.state.seleted) {&lt;br&gt;        this.setState({ selected: something}, ()=&amp;gt; callAPI())&lt;br&gt;      }&lt;br&gt;    }&lt;/p&gt;&lt;p&gt;这样会有问题吗？&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Tue, 20 Mar 2018 10:11:19 -0000</pubDate></item><item><title>Re: Testing Node.js Code with Mocha and Chai</title><link>http://stackabuse.com/testing-node-js-code-with-mocha-and-chai/#comment-3794079778</link><description>&lt;p&gt;What does it means by 'we need to clear the data from our database after each suite is run.'? Means you will always have an empty db? this is not convenient when you're doing development.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Thu, 08 Mar 2018 20:15:13 -0000</pubDate></item><item><title>Re: The Modern Javascript Tutorial</title><link>https://disqus.com/home/discussion/javascriptinfo/the_modern_javascript_tutorial_81/#comment-3728832322</link><description>&lt;p&gt;Thank you!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Sat, 27 Jan 2018 07:21:34 -0000</pubDate></item><item><title>Re: Front-end frameworks: quick solution or bloated problem? | Toptal</title><link>https://www.toptal.com/javascript/are-big-front-end-frameworks-bad#comment-3667954487</link><description>&lt;p&gt;But at least everyone is using the same standard, imagine you have 5 developers write in jquery, it will be some kind of mess.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Mon, 18 Dec 2017 12:33:11 -0000</pubDate></item><item><title>Re: Front-end frameworks: quick solution or bloated problem? | Toptal</title><link>https://www.toptal.com/javascript/are-big-front-end-frameworks-bad#comment-3667944286</link><description>&lt;p&gt;It's so hard to maintain a large scale webapp without a framework or library. With react, the amount of code is reduced by a lot compared to the template approach in the past. Of course if it's some small projects, jquery is still very relevant.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Mon, 18 Dec 2017 12:26:23 -0000</pubDate></item><item><title>Re: 
SVG Images as React Components With Webpack
</title><link>https://diessi.ca/blog/svg-images-as-react-components-with-webpack/#comment-3483860076</link><description>&lt;p&gt;I simply do &amp;lt;img src="“mySvg""/&amp;gt;, I gave up using this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Wed, 23 Aug 2017 20:25:09 -0000</pubDate></item><item><title>Re: Testing Node.js with Mocha and Chai</title><link>https://mherman.org/blog/testing-node-js-with-mocha-and-chai/#comment-3450820823</link><description>&lt;p&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Thu, 03 Aug 2017 22:29:05 -0000</pubDate></item><item><title>Re: Writing to Files in Node.js</title><link>http://stackabuse.com/writing-to-files-in-node-js/#comment-3446098687</link><description>&lt;p&gt;Will createWriteStream replace a file? Says I want to reformat (lint) my code for mutliple files, use createWriteStream or appendFile?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Tue, 01 Aug 2017 07:40:25 -0000</pubDate></item><item><title>Re: 
SVG Images as React Components With Webpack
</title><link>https://diessi.ca/blog/svg-images-as-react-components-with-webpack/#comment-3441982584</link><description>&lt;p&gt;This won't work in webpack 2&lt;/p&gt;&lt;p&gt;{&lt;br&gt;  test: /\.inline.svg$/,&lt;br&gt;  loader: 'babel!svg-react'&lt;br&gt;},&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Sat, 29 Jul 2017 13:18:59 -0000</pubDate></item><item><title>Re: How To Add Redux To Create React App</title><link>http://www.penta-code.com/how-to-add-redux-to-create-react-app/#comment-3433041936</link><description>&lt;p&gt;Please update the terrible mistake of the code&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Mon, 24 Jul 2017 12:29:01 -0000</pubDate></item><item><title>Re: Developer Hiring Trends in 2017</title><link>https://stackoverflow.blog/2017/03/09/developer-hiring-trends-2017/#comment-3195877037</link><description>&lt;p&gt;You aren't even a front end if you don't know any js framework. React and angular is not new.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Fri, 10 Mar 2017 01:53:09 -0000</pubDate></item><item><title>Re: 
Building a Calendar using React JS, LESS CSS and Font Awesome
</title><link>https://www.codementor.io/chrisharrington/building-a-calendar-using-react-js--less-css-and-font-awesome-du107z6nt#comment-3195874931</link><description>&lt;p&gt;Why there's createClass between createClass, why not just create a normal function? I mean in line 116.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Fri, 10 Mar 2017 01:49:56 -0000</pubDate></item><item><title>Re: 
How to Build a Sliding Menu using React JS and LESS CSS
</title><link>https://www.codementor.io/chrisharrington/how-to-build-a-sliding-menu-using-react-js-and-less-css-du107mpij#comment-3195795743</link><description>&lt;p&gt;Didn't know you can access's component function through ref!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Fri, 10 Mar 2017 00:00:16 -0000</pubDate></item><item><title>Re: Unit Testing React Components: Jest or Enzyme?</title><link>https://www.codementor.io/vijayst/unit-testing-react-components-jest-or-enzyme-du1087lh8#comment-3175911550</link><description>&lt;p&gt;Is beforeEach necessary ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Sun, 26 Feb 2017 11:08:53 -0000</pubDate></item><item><title>Re: Advanced WebPack Part 2 - Code Splitting</title><link>http://jonathancreamer.com/advanced-webpack-part-2-code-splitting/#comment-3172551278</link><description>&lt;p&gt;So the idea is the browser load script that is required by modules. How to check whether the modules (script) has been injected or not?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Fri, 24 Feb 2017 05:09:13 -0000</pubDate></item><item><title>Re: configuration</title><link>https://webpack.github.io/docs/configuration.html#comment-3170516789</link><description>&lt;p&gt;in the devtool Table what is +++, o means&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Thu, 23 Feb 2017 02:20:21 -0000</pubDate></item><item><title>Re: Immutable.js with Redux, his best friend</title><link>http://frontendinsights.com/immutablejs-with-redux-his-best-friend/#comment-3107259480</link><description>&lt;p&gt;Why not just use ES6 feature like Object assign or concat? immutable.js is abit overkill imo.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Wed, 18 Jan 2017 23:33:53 -0000</pubDate></item><item><title>Re: Role-based authorization using React-Router</title><link>http://frontendinsights.com/role-based-authorization-using-react-router/#comment-3107250242</link><description>&lt;p&gt;What is the relation btw custom 'authorize' attribute and 'AuthorizedComponent.js' ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Wed, 18 Jan 2017 23:28:13 -0000</pubDate></item><item><title>Re: Build a Bookshop with React &amp; Redux I: React Redux Flow</title><link>https://scotch.io/tutorials/build-a-bookshop-with-react-redux-i-react-redux-flow#comment-3102467187</link><description>&lt;p&gt;The lint shows so many errors :(&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Mon, 16 Jan 2017 11:57:15 -0000</pubDate></item><item><title>Re: What I learned while 6x-ing my income in 4 years</title><link>https://swizec.com/blog/learned-6x-income-4-years/swizec/7340#comment-3098577426</link><description>&lt;p&gt;you spend way too much.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Sat, 14 Jan 2017 00:12:29 -0000</pubDate></item><item><title>Re: JavaScript 的 Object.assign 陷阱</title><link>http://jigsawye.com/2015/10/06/javascript-object-assign/#comment-3097044435</link><description>&lt;p&gt;Does this have to do with cloning object?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Fri, 13 Jan 2017 04:16:40 -0000</pubDate></item><item><title>Re: React.js Introduction For People Who Know Just Enough jQuery To Get By</title><link>http://reactfordesigners.com/labs/reactjs-introduction-for-people-who-know-just-enough-jquery-to-get-by/#comment-3088999857</link><description>&lt;p&gt;Now I'm convinced to ditch jquery. Great write!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ming Hann</dc:creator><pubDate>Sun, 08 Jan 2017 09:03:02 -0000</pubDate></item></channel></rss>