You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, modifying the <head> in Perseus is pretty painful, and it needs to be done directly with web_sys. Especially in light of #2, Perseus should support a new property on a Template<G> that creates a Sycamore template for the document head. That should then be rendered to a string and interpolated directly into the head after any existing elements there.
This allows the user greater flexibility, and also allows the definition of universal properties on the <head>, which will be delimited from ones that are added with interpolation by a delimiter comment injected on the server-side.
The text was updated successfully, but these errors were encountered:
This is now fully functional! However, right now there's still a glitch until the new head is injected, which is frankly disgusting. That will be fixed with #2 as part of the changes to the initial load system, which will involve server-side head injection (with a slight lag between title transitions as is typical of and unavoidable for pseudo-SPAs).
Right now, modifying the
<head>
in Perseus is pretty painful, and it needs to be done directly withweb_sys
. Especially in light of #2, Perseus should support a new property on aTemplate<G>
that creates a Sycamore template for the document head. That should then be rendered to a string and interpolated directly into the head after any existing elements there.This allows the user greater flexibility, and also allows the definition of universal properties on the
<head>
, which will be delimited from ones that are added with interpolation by a delimiter comment injected on the server-side.The text was updated successfully, but these errors were encountered: