Skip to content

cleanup: Remove unused StateContext from AppController.tsx #280

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

Closed
coderabbitai bot opened this issue May 16, 2025 · 0 comments
Closed

cleanup: Remove unused StateContext from AppController.tsx #280

coderabbitai bot opened this issue May 16, 2025 · 0 comments

Comments

@coderabbitai
Copy link

coderabbitai bot commented May 16, 2025

Description

As noted in PR #224, we should clean up the AppController component since we no longer need the StateContext:

  • Remove the creation of StateContext since it's no longer needed
  • Remove the unused export of StateContext
  • Replace the <StateContext.Provider value={null}> wrapper with a simple <div> wrapper in the AppController component
  • Rename the interface StateContextProviderProps to AppControllerProps

This is a cleanup task after migrating from React Context to Zustand for state management.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants