Skip to content

Preact and Relay #411

@yasserkaddour

Description

@yasserkaddour

Hi,
I just tried to switch to preact on my relay project using preact-compat, it's compile but I have this error on the console.

GraphQLStoreChangeEmitter.js:82Uncaught TypeError: this._batchUpdate is not a function
at e._processBroadcasts (http://localhost:9000/assets/app.js:31:3416)
at http://localhost:9000/assets/app.js:31:3104
at i (http://localhost:9000/assets/app.js:10:19989)
at http://localhost:9000/assets/app.js:10:20732
at MutationObserver.r (http://localhost:9000/assets/app.js:13:20214)
e._processBroadcasts @ GraphQLStoreChangeEmitter.js:82
(anonymous function) @ GraphQLStoreChangeEmitter.js:63
i @ core.js:37
(anonymous function) @ core.js:123
r @ browser-raw.js:52

I think preact is awesome, I reduced my gzip bundle from 160k to 124k with it, it's just to bad it's doesn't work. Is there something you can do about it?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions