Skip to content

Integrate Solution to Prevent Provider Wrapper Hell #579

@IgorShadurin

Description

@IgorShadurin

While exploring solutions to avoid Provider Wrapper Hell in our codebase, I came across an interesting approach detailed in an article (https://javascript.plainenglish.io/embrace-react-composition-for-cleaner-code-a-better-alternative-to-provider-wrapper-hell-ead75512091a). The article suggests embracing React composition as a cleaner and more efficient alternative.

I propose we consider integrating a similar solution. This could streamline our code, making it more maintainable and less cluttered with nested components.

function MyApp({ Component, pageProps, router }: AppProps) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions