mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
490 B
490 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Readonly properties | obscure-livewire-tips | samuelstancl |
|
2021-04-09T17:28:56+02:00 | livewire-readonly-properties |
They're a great way to make your components safer and faster.
Say you have a component for editing some resource.
You enforce the ACL in mount().
But if the user could change the currently edited resource, you'd need to enforce ACL on all requests!