Eleventy: `renderData` only works on paginated templates

Created on 16 Feb 2020  路  4Comments  路  Source: 11ty/eleventy

After some investigation into implementing #481 it should be noted that for some time the undocumented renderData feature has only been available on pagination templates.

Not really sure how to handle this. renderData has always been a bit discouraged but I know a fair number of people have used it. We did have tests around it but they weren鈥檛 quite high level enough to catch it.

Ideally this would be fixed and its use still discouraged as #481 will be the preferred method going forward.

bug

All 4 comments

Does that mean #481 will be re-opened? What's the best way to get notified once this issue is addressed?

481 is not off the table! Make sure you read this comment carefully https://github.com/11ty/eleventy/issues/481#issuecomment-481516829

The overarching project is managed here https://github.com/11ty/eleventy/projects/1

(I am actively working on this feature for a project)

The fix for renderData is shipping with the next minor version

Was this page helpful?
0 / 5 - 0 ratings