peerlibrary / meteor-blaze-components

Reusable components for Blaze
http://components.meteorapp.com/
BSD 3-Clause "New" or "Revised" License
354 stars 26 forks source link

error updating to Blaze Components 0.23 & Meteor 1.8.2-rc.3 #155

Closed hexsprite closed 5 years ago

hexsprite commented 5 years ago
Uncaught TypeError: component.createMixins is not a function
    at lib.coffee:763
    at Object.Tracker.nonreactive (tracker.js:603)
    at ListActionList.renderComponent (lib.coffee:759)
    at lib.coffee:704
    at lib.coffee:272
    at Object.Blaze._withCurrentView (blaze.js?hash=51f4a3bdae106610ee48d8eff291f3628713d847:2271)
    at lib.coffee:271
    at Template._withTemplateInstanceFunc (blaze.js?hash=51f4a3bdae106610ee48d8eff291f3628713d847:3769)
    at wrapViewAndTemplate (lib.coffee:265)
    at lib.coffee:701
hexsprite commented 5 years ago

messing around in the debugger and it seems like somehow one of my react components is getting called here... not sure why

everything worked fine with previous version of blaze-components.

hexsprite commented 5 years ago

Ahh, I had a function called component which I was using to reference a React component and apparently that's now a special method.... renaming to something more unique solved the issue

mitar commented 5 years ago

component has been around for quite a while.