Skip to content

[Content]: Conflicting documentation about A (Anchor) #1631

Description

@srxcode

📚 Subject area/topic

Routing & Navigation

📋 Page(s) affected (or suggested, for new content)

https://docs.solidjs.com/guides/routing-and-navigation
https://docs.solidjs.com/solid-router/reference/components/a

📋 Description of content that is out-of-date or incorrect

The page for < A > states the following:

A will be deprecated in favor of the native element.

However, there's a conflicting description in the routing and navigation page(step 6) , which is perhaps outdated.

The < A > component provides navigation to an application's routes. Alternatively, you can use the native anchor tag. However, the component provides additional functionality including properties for CSS, inactiveClass and activeClass.

The code example given below the statement also uses the < A > instead of the native < a > tag

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response

Metadata

Metadata

Assignees

Labels

pending reviewAwaiting review by team members.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions