Robert Mosolgo

Results 408 comments of Robert Mosolgo

👋 Just thought I'd link https://github.com/Envek/graphql-anycable which might provide some reference for how GraphQL subscriptions can be delivered on another transport (I admit, I haven't looked into it a ton!).

I think it would be an awesome thing to look into! It's always been "theoretically possible" but I haven't heard of anyone who actually worked it out. Please share your...

Sorry, I don't really understand this issue! Could you try rephrasing it in the form: - What currently happens - Why that's bad - What you _want_ to happen ?

> converted it to Gulp/Grunt + Browserify 🍻 that's awesome! I'm glad to see a "blessed path" for Rails, too.

Could you please share your usage of `react_ujs`? For example, could you show the code where it is required into your project? Also, could you tell me where `CommentsContainer` is...

Thanks, I'm hoping we can track this down! How weird ... > usage of react_ujs Somewhere, `react_ujs` is being loaded in your project. Hopefully it's in `app/javascripts/packs/application.js`, could you look...

`CommentsContainer` must _export_ the react component, try adding this to the end: ```js module.exports = CommentsContainer ``` Does that change the outcome for you?

In order to use webpack, you must learn Node.js's `require` and `module.exports` features. `CommentsContainer.js` should look like this: ```js var React = require("react") var CommentsContainer = React.createClass({ render: function() {...

Thanks for pushing that reproduction app! That makes it easy to see. I think we have a misunderstanding about how `react_component` finds the component. `react_component("HelloWorld")` tries `require("./components/HelloWorld")`. But in your...

You're right about the difference between asset pipeline and webpacker! With the asset pipeline, all javascripts are loaded in the global namespace, so you find classes by name. In webpack,...