when using kotlin-redux on js is there any point i...
# redux
n
when using kotlin-redux on js is there any point in adding a line like that ?
Copy code
js("if(window.__REDUX_DEVTOOLS_EXTENSION__ )window.__REDUX_DEVTOOLS_EXTENSION__ ();else(function(f){return f;});")
https://github.com/lawik123/kotlin-poc-frontend-react-redux/blob/44eceb985a6871a2c13e6c5487777d55acf64bfb/src/main/kotlin/nl/lawik/poc/frontend/reactredux/Index.kt#L17
p
Looks like that is needed if the redux devtools are being used. This may work with reduxkotlin. I have not tested
n
since i hope to use a wrapper around reduxkotlin to make it appear like the redux-js thing.. i hope i can somehow use this...
p
Yes, that would be great. Keep us posted 🙂