geolessel/react-phoenix

How to get it working in IE EDGE

dav11d opened this issue · 5 comments

Copied everything from the video (https://www.youtube.com/watch?v=icwjAbck8yk)

Everything working fine in chrome/firefox but doesn't want to appear in IE EDGE,

I can see the Div in the dom explorer but nothing after that.

Showing SCRIPT438: Object doesn't support property or method 'forEach' in the console.

Now I've tried using 'import babel-polyfill' in the top of my app.js , but then it doesn't render in chome/firefox and is still showing blank in IE edge.

Apologies if this is a babel/react set up issue, I'm new.

scmx commented

Please try this patch #4.
{:react_phoenix, github: "scmx/react-phoenix", ref: "d1537be1855e9e555716c1380448337d8958140c"}

Still having the same issue I'm afraid

scmx commented

Make sure the updated package is used
mix deps.clean react_phoenix && mix deps.get
And make sure the updated npm package is used
rm -rf node_modules/react-phoenix
npm install
Or if phoenix 1.3
(cd assets; rm -rf node_modules/react-phoenix)
(cd assets; npm install)

Thats the one, all working now 👍

@dav11d @scmx That PR has been merged into master. I will work on cutting a new release as soon as I get a chance.