Closed finalclass closed 3 months ago
Partials only become active if the element you clicked on or one of its ancestors has f-client-nav
attribute set. If that is not set or it's set to false, then partials are disabled. See https://fresh.deno.dev/docs/concepts/partials
Wondering if we should enable this by default when f-partial
is set. That might be less confusing.
Thanks for clarifying. Maybe adding a full code example here would be clearer:
I've created a brand new project (the way described in the docs). Then I've added two files:
routes/test/index.tsx
routes/partials/test.tsx
After visiting the
/test
route and clicking the "GO" button the page refreshes instead of loading the partial.