r/javascript • • Jul 26 '17

React 16 beta

https://github.com/facebook/react/issues/10294
36 Upvotes

26 comments sorted by

View all comments

Show parent comments

1

u/gajus0 Jul 28 '17

I've bundled the app using webpack. I've tried to setup a simple demo, but for some reason this build is failing entirely; some error about usage of "use strict".

https://github.com/gajus/react-webpack-babel-tutorial

Will look into it tomorrow morning.

1

u/gaearon Aug 03 '17

Can you please try again with 16.0.0-beta.3?

We fixed the use strict issue, and the crawler issue might also have been caused by it.

1

u/gajus0 Sep 09 '17 edited Sep 09 '17

The issue exists afterall. I have noticed drop in traffic after updating production to React 16.0.0-rc.2. Turns out it is due to new pages not being indexed.

http://imgur.com/a/L4DTc

You can see it live here https://go2cinema.com/.

You will need to use an old browser such as Chrome v25.

That error:

Uncaught TypeError: cannot set property 'nextEffect' of undefined

Is coming from react code base.

The same issue is affecting Fetch as Google.

I am not able to replicate the same issue using "Hello, World" example. I am guessing it might be something to do with setState or context being using in the real world app.

Opened React issue: https://github.com/facebook/react/issues/10656

2

u/imguralbumbot Sep 09 '17

Hi, I'm a bot for linking direct images of albums with only 1 image

https://i.imgur.com/mVKpVUI.jpg

Source | Why? | Creator | ignoreme | deletthis