electrode-react-ssr-caching icon indicating copy to clipboard operation
electrode-react-ssr-caching copied to clipboard

Uncaught TypeError: Cannot assign to read only property 'props' of object '#<Object>'

Open dortzur opened this issue 7 years ago • 1 comments

Hello, First of all thank you for writing this, it's really awesome. I'm encountering and error during the first cache hit. I'm using react/react-dom 15.5.4

With the following config:

const config={
    components: {
        App: {
            strategy: "simple",
            enable: true,
        }
    }
}

I believe this caused due to the library trying to override react's props which are readonly. Any help will be greatly appreciated as we are eager to take this baby into production.

screen shot 2017-04-19 at 16 08 05

dortzur avatar Apr 19 '17 13:04 dortzur

I have the same problem. There is PR to fix it: 27

rroslaniec avatar Jul 12 '17 15:07 rroslaniec