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

Add Unique Keys and IDs to Improve Component Rendering #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Budalebah
Copy link

Title: Add Unique Keys and IDs to Improve Component Rendering

Description:

Added unique id properties to Section objects in the NotFound component to ensure each section has a unique identifier.
Updated key attributes for items and subItems within the Section components to improve rendering performance and ensure proper element identification by React.
Implemented unique keys in the form of template strings for list items to avoid rendering issues and optimize component updates.
Details:

Section IDs: Added unique id values to each Section object (e.g., "overview", "sdk") to distinguish between different sections and enhance the clarity of the data structure.
Item Keys: Applied unique keys to list items using a combination of section IDs and item indices to ensure each item is uniquely identifiable during rendering.
These changes aim to improve the performance and reliability of component rendering in the NotFound page.

Copy link

vercel bot commented Aug 10, 2024

@Budalebah is attempting to deploy a commit to the Irys Team on Vercel.

A member of the Team first needs to authorize it.

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

Successfully merging this pull request may close these issues.

2 participants