Skip to content

Complex SPA #10

@MasterZydra

Description

@MasterZydra

Hi @PhiloNL,

I want to use WireExtender to embed a more complex Laravel application into another page.

For this case I want to hook into the WireExtender:

  1. I want to call renderComponents() multiple times.
    The use case is a custom attribute that allows me to replace the loaded component:
    e.g. <a href="" component:navigate data-component="PageN" data-params='{page: 1}'>Page 1</a>
    Similar like the wire:navigate attribute works for Livewire, I want to add this logic to WireExtender.

  2. I need an event that tells me when Livewire is loaded and started
    The use case is to have an event that I can use to call my JavaScript

If you are OK with that kind of changes I would create a PR.

The changes would look like this:
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