Skip to content

[Bug]: Incompatibility with Laravel Octane (Static Properties Persist Across Requests) #46

@pablorsk

Description

@pablorsk

What happened?

When using Laravel Octane (with Swoole), static properties persist between requests due to the shared process model. This library appends export, import, and search buttons to static variables or properties, I think. As a result, when the page is reloaded or accessed multiple times, duplicate buttons are rendered. This behavior breaks under Octane and leads to unexpected UI artifacts.

Image

How to reproduce the bug

Just a basic installation, but with Laravel Octane enabled.

Package Version

2.0.7

PHP Version

8.3.0

Laravel Version

12.16.0

Which operating systems does with happen with?

Linux

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions