notrab
09/18/2017, 9:00 PMconst fromEvent = require('graphcool-lib').fromEvent; works.
const { fromEvent } = require('graphcool-lib') doesn’t.
Examples use a mixture of these. Halpagartha
09/18/2017, 9:25 PM'use latest'?notrab
09/18/2017, 9:39 PMnotrab
09/18/2017, 9:39 PMagartha
09/18/2017, 9:40 PMnotrab
09/18/2017, 9:40 PMagartha
09/18/2017, 9:40 PMnotrab
09/18/2017, 9:41 PMagartha
09/18/2017, 9:41 PMnotrab
09/18/2017, 9:41 PMagartha
09/18/2017, 9:42 PMnotrab
09/18/2017, 9:42 PM'use latest';
And at the same time updated the const {fromEvent} line.notrab
09/18/2017, 9:42 PMconst fromEvent line back to ES5 and saved.
Then updated the file again, back to the other way and it now works.notrab
09/18/2017, 9:42 PMagartha
09/18/2017, 9:43 PM