Outletに対しては親コンポーネントからContextを渡せる

kiririmodekiririmode のブックマーク 2024/08/12 19:49

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

useOutletContext v6.22.3 | React Router

    declare function useOutletContext< Context = unknown >(): Context; Often parent routes manage state or other values you want shared with child routes. You can create your own context provider if yo...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう