Skip to content

Enhance Navigation works horribly, I would suggest drop it all and re do it again. #54982

@Bartmax

Description

@Bartmax

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I already stated few things about enhance nav and why many decisions are very bad developer and user wise. The response was always "nah, it's fine." Well, still sucks.

I can't state everything it's wrong, it's too many list of things, i would redo everything, specially when there is no need or intention to actually look at the real problem and just say "its ok, bla bla bla"

anchor tags with enhance-nav off works different than navlinks with enhance-nav off
localhost works different with enahnce-nav off than production/domain enhance-nav off

enhance nav doesn't work at all as expected when usin SSR

you can still say : "it's fine the design is good", unfortunately that doesn't make it real.

amazingly, hotwire turbo is a way simpler design, not only works as expected, it does works every single time, and there's not even 1 line of code of magic. It just believe in the developer.

So, going to production, having a pain with enhance nav, i turned off and im using turbo.

For anyone dealing with all wilderness of enhance nav, i can only recommend to just drop it, it's buggy software as buggy as it can be.

If there's a change on NET team mind and want to look at the issues and legitimately interested on fixing, there are a few (2-3) simple design decision changes that will solve ALL problems at once.

If you are still not convinced but still want to make it work, I can compromise on making 1 repo for every major problem it has with as much detail as i can.

Expected Behavior

That works

Steps To Reproduce

turn it on

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions