“Uncaught ReferenceError: Redux is not defined.” is shown in my Redux course (I tried first 2 lessons and they both showed this) on both my laptop and mobilephone.
So, I cleared my browser cache, restart and tried different browsers but it is still not solved.
I checked console and they show “net::ERR_CONNECTION_REFUSED” with the link “frame.ts:257”.
In source, “frame.write(content);” in line 257 was underlined with red.
In network, there is redux.min.js and redux-thunk.min.js with with header “Provisional headers are shown”.
My code does not pass even if I have right answer.
I would like to know if there is solution for this? because I saw a lot of people in forum with same problem but I didn’t see solution or is it the problem from my side and if so, how can i fix this?
Your code so far
const reducer = (state = 5) => {
return state;
}
// Redux methods are available from a Redux object
// For example: Redux.createStore()
// Define the store here:
const store = Redux.createStore(reducer)
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
I did everything ( no extension, tried in private window, and Firefox) you said and it is still “Redux is not defined”. T-T
Every lesson that has Redux including ‘React and Redux’ course is showing “Redux is not defined”. T-T
OK, that suggests to me that there is something in your computer/browser/VPN/firewall/country/etc. that is blocking that site. I don’t know why they would, but it seems to be.
Do you know anyone else in your country that is doing FCC? Or is there another computer you could try it on?
I changed the DNS Server and it works now.
By the way, thanks A LOT for helping me.
[Just in case if someone has the same problem with me
( Control Panel > Network and Sharing Center > Change adapter setting > right click on ur active network > properties > Internet Protocol Version 4 > Preferred DNS server 8.8.8.8 and Alternate DNS server 8.8.4.4)]