Use sprockets.registerElement() instead of the deprecated sprockets.registerComponent()