Build Modern Laravel Apps Using Inertia.js - Ep 10, Shared Data

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025
  • Now that we've successfully extracted a Layout component, the next thing we need to sort out is how to share data across components. Luckily, Inertia provides a nice and friendly solution that we'll review in this episode.
    Watch this full series, track your progress, and participate in a massive Laravel community at Laracasts.
    Laracasts: laracasts.com
    Build Modern Laravel Apps Using Inertia.js: laracasts.com/...
    Laracasts Twitter: / laracasts
    Jeffrey Way Twitter: / jeffrey_way

ความคิดเห็น • 14

  • @nophrase
    @nophrase 2 ปีที่แล้ว

    I have never seen such a proffessional tutorial before.

  • @jackrourke9237
    @jackrourke9237 3 ปีที่แล้ว

    You're a Gem 💎 I love the way you teach so smoothly and satisfyingly to listen and watch ♥ ♥ ♥ ♥ ♥

  • @davidrowlands8548
    @davidrowlands8548 3 ปีที่แล้ว

    Stunning Tutorial

  • @lucasjoseserena2473
    @lucasjoseserena2473 2 ปีที่แล้ว +1

    For anyone needing this:
    const pageProps = reactive(usePage())
    const username = computed(() => pageProps.props?.auth?.user?.username)

  • @iambasanta
    @iambasanta 3 ปีที่แล้ว

    Thank you .
    great tutorial.
    Want to see some designing tutorial from your designer too.

  • @matinlh644
    @matinlh644 2 ปีที่แล้ว

    extremely useful 👌🏻

  • @alikaram98
    @alikaram98 ปีที่แล้ว

    Hi
    I have question
    Can we install pinia or vuex in inertiajs ?
    If your answer is positive, please show a way for it, otherwise, how should we control this case ?

  • @omarabdelaziz9108
    @omarabdelaziz9108 2 ปีที่แล้ว

    Why did you add this prefix to $page variable, what would happen if i didn't add it?

  • @b4nd2me
    @b4nd2me 3 ปีที่แล้ว

    I need those vscode extentions that you present, could you please list down what's vscode components that you use? thank you

  • @edwinencomienda
    @edwinencomienda 3 ปีที่แล้ว

    i love the phpstorm settings? can you share?

    • @laracastsofficial
      @laracastsofficial  3 ปีที่แล้ว

      I don't have an export to share right now, but the main component is the Nord theme, which you can install from the marketplace plugins section.

  • @lserranoit
    @lserranoit 2 ปีที่แล้ว

    Why just don't pass the name to the navbar component. It doesn't matter in what page you render it, you will have it always available.