Skip to content

Managing State With The Context API: Add a video for solutions to prop drilling using composition #29914

@Khaspper

Description

@Khaspper

Checks

Description

I believe that this video should be listed under additional resources or in the assignment section

https://www.youtube.com/watch?v=3XaXKiXtNjw

Although it is 5 years ago this video gives a great explanation on using composition instead of useContext... but I believe that using both (useContext and composition) is ideal... for example if a component is heavily nested, useContext should be used... but if you find yourself prop drilling down 2-4 "dumb" components composition should be used...

I would love to know your guys' feedback on this! Thank you!

Path

Node / JS

Lesson Url

https://www.theodinproject.com/lessons/node-path-react-new-managing-state-with-the-context-api

Discord Name

Khaspper

Additional Comments

:P

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions