Uncaught NoMethodError: undefined method `render' for #<Element [<div

437 Views Asked by At

I want to mount my component use this code in Opal file:

Element['#wizard_param_grid_editor'].render do
   ZGrid(rows: @work_spaces)
End

I got the Error

Uncaught NoMethodError: undefined method render' for #]>

1

There are 1 best solutions below

1
On

change require 'opal-jquery' before require 'reactive-ruby' fix this