Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Solution to Prevent Provider Wrapper Hell #579

Open
IgorShadurin opened this issue Jan 11, 2024 · 0 comments
Open

Integrate Solution to Prevent Provider Wrapper Hell #579

IgorShadurin opened this issue Jan 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@IgorShadurin
Copy link
Collaborator

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) {

@IgorShadurin IgorShadurin added the enhancement New feature or request label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant