Skip to content

Support to break out viewcomponent #169

Open
@drnic

Description

@drnic

I'm rendering pages, partials, and actioncable responses with https://viewcomponent.org/ Currently the work done inside the .rb component and its .html.erb template is not shown in skylight. Could we add VC support please?

Update

I've had some success sending the rendering time for each component by adding the following two lines to each component class:

  include Skylight::Helpers
  instrument_method :render_in

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions