lib/hyperloop/router/component.rb in hyper-router-4.0.0 vs lib/hyperloop/router/component.rb in hyper-router-4.0.1
- old
+ new
@@ -1,9 +1,9 @@
module Hyperloop
class Router
class Component
def self.inherited(base)
- base.include(React::Component)
+ base.include(Hyperloop::Component::Mixin)
base.include(HyperRouter::ComponentMethods)
base.class_eval do
param :match, default: nil
param :location, default: nil