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 context for reloading sidebar data #268

Open
AntonioMrtz opened this issue Oct 19, 2024 · 4 comments · May be fixed by #269
Open

Create context for reloading sidebar data #268

AntonioMrtz opened this issue Oct 19, 2024 · 4 comments · May be fixed by #269
Assignees
Labels
frontend Frontend related issues good first issue Good for newcomers hacktoberfest hacktoberfest help-wanted Help is wanted javascript Pull requests that update Javascript code refactor Code changes or improvements that do not change code behaviour

Comments

@AntonioMrtz
Copy link
Owner

AntonioMrtz commented Oct 19, 2024

Description

Create context for reloading sidebar data

Context

Reloading sidebar from across the app is working with a method refreshSidebarData at top component App.tsx. We want to avoid prop drilling and make the method accesible from any component

How to do it

  • Create a context that provides refreshSidebarData
  • Adapt current props and calls to refreshSidebarData to use the context

Testing


🖐️ Learn how to CONTRIBUTE, all help is welcomed :)

📚 Check out the project documentation for more info

⭐ Help this project grow by giving it a star if you like it!

😵 Trello links are used for traceability, do not ask to join the board before leaving a comment in the related issue

@AntonioMrtz AntonioMrtz added good first issue Good for newcomers frontend Frontend related issues refactor Code changes or improvements that do not change code behaviour help-wanted Help is wanted javascript Pull requests that update Javascript code hacktoberfest hacktoberfest labels Oct 19, 2024
@AntonioMrtz
Copy link
Owner Author

@yashwanthvarma18
Copy link

@AntonioMrtz please asssign me this task

@AntonioMrtz
Copy link
Owner Author

Hi @yashwanthvarma18 , all yours . Let me know if you need anything :)

@AntonioMrtz
Copy link
Owner Author

Hi @yashwanthvarma18 are you still working in this issue :) ? If you need help with something just let me know 🖐️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Frontend related issues good first issue Good for newcomers hacktoberfest hacktoberfest help-wanted Help is wanted javascript Pull requests that update Javascript code refactor Code changes or improvements that do not change code behaviour
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants