Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

🥵 Coming soon: Build Filament components with React / Vue / Svelte / your JavaScript framework of choice?! I started with just form fields to prove the concept as these can have complex interactions, it won't be difficult to allow widgets etc. to be build like this too!

32,199 görüntüleme • 2 ay önce •via X (Twitter)

33 Yorum

Dan Harrin 🦒 profil fotoğrafı
Dan Harrin 🦒2 ay önce

These can interact with the rest of your Filament form too! Use `$get()` and `$set()` to read and update other fields, pass dynamic configuration from PHP which updates the props passed to the component automatically, or call methods on your field class using `#[Exposed]`.

Dan Harrin 🦒 profil fotoğrafı
Dan Harrin 🦒2 ay önce

The components are loaded on demand as ES modules when the field initializes, so you don't need to load React on every page just because one field uses it. Filament doesn't ship any of these frameworks itself, and plain JavaScript works too!

Dan Harrin 🦒 profil fotoğrafı
Dan Harrin 🦒2 ay önce

I've added generators for all of these too: `php artisan make:filament-form-field Counter --react` Also `--vue`, `--svelte`, or `--js`, with `--ts` if you want TypeScript. What would you build with this? Any existing JS components you've wanted to bring into Filament?

Aidan Laycock profil fotoğrafı
Aidan Laycock2 ay önce

This looks absolutely amazing @danjharrin 🙌 Could an extreme version of this allow the use of ShadCN UI for example to replace all of the default filament components? On a slight aside, I could see this as a major unlock for JS/TS devs engaging with Filament.

Dan Harrin 🦒 profil fotoğrafı
Dan Harrin 🦒2 ay önce

An extreme version would allow you to replace all of the default form fields using ShadCN form fields. But I would suggest that you are selective about which ones you outright replace. Reskin components with (theme) CSS to make them look identical to ShadCN where possible.

Aidan Laycock profil fotoğrafı
Aidan Laycock2 ay önce

That makes sense, thank you! Really looking forward to this release. 🎉

ᕦ( ͡° ͜ʖ ͡°)ᕤ profil fotoğrafı
ᕦ( ͡° ͜ʖ ͡°)ᕤ2 ay önce

Inertia + tsx would be the dream framework

Dennis 🏕 profil fotoğrafı
Dennis 🏕2 ay önce

Pure magic!

Stanley Ojadovwa profil fotoğrafı
Stanley Ojadovwa2 ay önce

Looking forward to this

ᴚƎ⅁N∀HƆ ƎW∀⅁🪴 profil fotoğrafı
ᴚƎ⅁N∀HƆ ƎW∀⅁🪴2 ay önce

Dan you've been working hard recently. All i would say is that you're doing a mighty work of art for @laravel community🔥🔥

Punyapal Shah profil fotoğrafı
Punyapal Shah2 ay önce

Is it inspired from minglejs?

Dan Harrin 🦒 profil fotoğrafı
Dan Harrin 🦒2 ay önce

I think it solves a similar sort of problem, but the implementation is original and built for Filament schema components specifically rather than being a general Livewire solution.

Punyapal Shah profil fotoğrafı
Punyapal Shah2 ay önce

Oh 😯 intresting I was working on package for Laravel client side validation almost ready added filament support via extra attributes. Let's see how this make my life easy/hard to finish that project up!

Emovon Uwadia profil fotoğrafı
Emovon Uwadia2 ay önce

We are finally getting there. Who says we can't have the best of both worlds? I have been using react in Filament for special custom pages using Minglejs.

JustSteveKing profil fotoğrafı
JustSteveKing2 ay önce

This is awesome

Mauricio Mou profil fotoğrafı
Mauricio Mou2 ay önce

Amazing work Dan! This is fire! 🔥

InspireCMS profil fotoğrafı
InspireCMS2 ay önce

awesome

Justas Raudonius profil fotoğrafı
Justas Raudonius2 ay önce

This is awesomeeeeeee! I was debating Filament vs Inertia+Vue for an internal CRM rewrite and given this I'm so glad I chose Filament.

Dan Harrin 🦒 profil fotoğrafı
Dan Harrin 🦒2 ay önce

I am working on something else you might like then 👀

Justas Raudonius profil fotoğrafı
Justas Raudonius2 ay önce

👀👀

Shaheen Fawzy profil fotoğrafı
Shaheen Fawzy2 ay önce

Feeling filament is just getting better and better everyday, thank you for your efforts

Julian Schramm profil fotoğrafı
Julian Schramm2 ay önce

So cool! I can already see some real use cases for this😄

Bezhan Salleh 🚀 profil fotoğrafı
Bezhan Salleh 🚀2 ay önce

@filamentphp 💛

Shamim profil fotoğrafı
Shamim2 ay önce

This is huge!!!

Peter Fox profil fotoğrafı
Peter Fox2 ay önce

Really useful for putting in things like custom code editors without reinventing the wheel to do it

Hammad Zafar profil fotoğrafı
Hammad Zafar2 ay önce

That's the way to go @danjharrin , Can't wait to see Filament Apps powered by React/Vue/Swelte.

Debjit B. profil fotoğrafı
Debjit B.2 ay önce

Well its look like laravel + inertia + react now!

Arthur Minasyan 🐦‍🔥 profil fotoğrafı
Arthur Minasyan 🐦‍🔥2 ay önce

@filamentphp 🚀

Emovon Uwadia profil fotoğrafı
Emovon Uwadia2 ay önce

Please add support for building Custom pages with react/vue.

Shaharyar Ahmed profil fotoğrafı
Shaharyar Ahmed2 ay önce

It's just awesome, i can't wait to be able to use it

Peach Peace Treaty profil fotoğrafı
Peach Peace Treaty2 ay önce

Instead of just form fields, cant we make full pages with js/ts/svelete/react etc I have a page in my filament application that needs alot of things client side, i have to use blade, livewire(lil bit), but its getting out of hand, having jsx would be awesome in such cases

fajar sp profil fotoğrafı
fajar sp2 ay önce

many dev leaving livewire as in the past has big security issues many dev change to inertia as we can switch easily between frontend stack

Matt Clinton profil fotoğrafı
Matt Clinton2 ay önce

@filamentphp This is huge! We’ve got some use cases for this atm and I’ve been reluctant to use/rely on that mingle library

Benzer Videolar