Skip to content

alternative state management RFC #2904

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
12 of 13 tasks
jonathanawesome opened this issue Nov 12, 2022 · 1 comment
Closed
12 of 13 tasks

alternative state management RFC #2904

jonathanawesome opened this issue Nov 12, 2022 · 1 comment
Assignees
Labels
graphiql proposal rfc Request for Comment work-in-progress not ready to merge yet, PR is available for demonstration/review purposes

Comments

@jonathanawesome
Copy link
Collaborator

jonathanawesome commented Nov 12, 2022

As per the discussion at this week's working group meeting, I'll be putting together a proposal for replacing the use of React Context with an alternative state manager. Goals for this RFC are to reduce component complexity in the graphiql-react package and to unlock the possibility to more easily provide GraphQL IDE building blocks for non-React frameworks.

Here are the tasks that I'd like to accomplish to make this a successful RFC:

  • Add a Ladle installation as a component development environment
  • Pull explorer plugin out of graphiql-react and into a separate plugin package
    • rewrite context -> zustand
    • refactor tests
  • Pull history plugin out of graphiql-react and into a separate plugin package
    • rewrite context -> zustand
    • refactor tests
  • Add a new store folder to graphiql-toolkit that contains state slices that match up with existing contexts
  • storage
  • editor
  • schema
  • execution
  • plugin
@dimaMachina
Copy link
Collaborator

closed by #3946

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
graphiql proposal rfc Request for Comment work-in-progress not ready to merge yet, PR is available for demonstration/review purposes
Projects
None yet
Development

No branches or pull requests

3 participants