Thomas Cui

Results 8 comments of Thomas Cui

I changed the line 35 to `client: 'gtx',` instead of `client: 't',` and it's working for me now.

So, what's the best practice? Will somebody fix this bug?

So, we don't need the google-translate-token at all?

For example I use `@asyncConnect` for the home page. When I go to http://localhost:3000/, I will expect the promise runs on the server side only. But it ran on the...

I think this problem is caused by ``` javascript componentWillReceiveProps(nextProps) { this.loadAsyncData(nextProps); } ``` It works correctly for the initial load when I remove this code. I changed the code...

The problem is that: this code runs twice (both on server side & client side) ``` javascript @asyncConnect([{ promise: ({store: {dispatch, getState}}) => { const promises = []; /* Should...

It works. I also try to copy the code into client.js, like: ``` javascript /*eslint-disable */ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-xxx-x', 'auto'); ga('send', 'pageview'); /*eslint-enable */ ``` Which...