GithubHelp home page GithubHelp logo

Comments (2)

jsakamoto avatar jsakamoto commented on July 21, 2024

Thank you for posting.
Yes, this library renders meta/link elements as semi-random order.
And this library doesn't provide a way to control the ordering of those elements.

This is one of the weak points of this library.
I have been interested in this problem that how to resolve this issue since I produce this library.
But I have never coming up with a cool idea to resolve this issue yet.

This problem is very hard to resolve smarty, I think.
What is the "correct" ordering of the meta/link elements?
How can developers control the ordering?
Those are very deep consideration points on the code design.

If you have any cool ideas to resolve this issue, could you tell me your code design, before sending the pull request to me?

from toolbelt.blazor.headelement.

Alerinos avatar Alerinos commented on July 21, 2024

I think the first render should be from layout and the next from pages. Why so? Because we often load e.g. main.css and sometimes we want to fix the subpage, so to overwrite the changes, the css code must be loaded below the code from the layout.

from toolbelt.blazor.headelement.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.