Skip to content

websharper.templates/FSharp/SPA/index.html: not avoiding showing templates? #7

@Martin521

Description

@Martin521

In the SPA html template you have
<style> /* Don't show the not-yet-loaded templates */ [ws-template], [ws-children-template] { display: none; } </style>
I have 2 questions:

  1. None of the browsers seems to show the templates, no matter if I include the above or not. So are these lines still useful?
  2. I do see during loading not-yet-replaced text-holes ${.... This is very brief, but on my page quite prominent. So I would love to avoid this. Is there a way to do that? (The display: none for the templates as shown above does not help.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions