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

Create a new React hook to access Projects Images rewrite configuration #2571

Closed
CarlosCortizasCT opened this issue Apr 27, 2022 · 0 comments
Assignees
Labels
💡 Type: Idea Propose a new idea 🚀 Type: New Feature Something new

Comments

@CarlosCortizasCT
Copy link
Contributor

Is your feature request related to a problem? Please describe.

In the context of a Project's images URLs rewrite rules configurations, app-kit currently provide both a component (with a render props) and a HOC to access the relevant information from the provider which fetches and holds that information.
Since most React components are now functional ones, I'm missing a React hook to access that information.

Describe the solution you'd like

It would be great to have a new React hook that can be used to access the information from that context and also refactor mentioned component and HOC to use it.

Describe alternatives you've considered

none

Additional context

none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Type: Idea Propose a new idea 🚀 Type: New Feature Something new
Projects
None yet
Development

No branches or pull requests

2 participants