⚠️ Fix case where due to concurrent mode running effects twice ourcurrentIndex
would get wonky, we need to decrement the currentIndex when we remove the top of the stack during a process iteration Submitted by @JoviDeCroock (See #95)
- Make
useLink
concurrent safe by only re-usinglink
tags carryingdata-hoofd="1"
, these would come from hydration as hoofd will add these to the static export Submitted by @JoviDeCroock (See #79)
- Escape the
content
property in meta tags #76
- Guard against no meta tags being returned in React Concurrent Mode #76
- Add
dns-prefetch
to rel type #62
- Add specialized types for
hoofd/preact
#54
- Add support for
id
andtext
inuseScript
#44
- fix Preact #40
- Adjust useScript to use context API #37
useTitleTemplate
will fallback to removing the%s
rather than inserting it when no title has been provided #33
- fix:
useTitle
now correctly detects thetemplate
argument changing #27 - fix: Preact types are now picked up correctly
- Detect already injected links correctly and reuse them when possible.
- add
useHead
- Make types less strict
- Add
type
tolinkOptions
#11
BREAKING
- Renamed
toString
totoStatic
- Stopped returning a stringified
head
and moved to{ title, lang, metas, links }
Read more
- Add
useTitleTemplate
hook
- Bundle size savings -100 bytes
- SSR Support
- Initial release