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
Page.Render sounds like it renders the page, but it doesn't, it renders the page using a named layout. It should have been called RenderLayout. RenderLayout would be less confusing.
Page.RenderShortcodes is confusing because it makes it sound like Page.Render doesn't render shortcodes. It should have been called Render. RenderDefault would be less confusing.
Perhaps we could deprecate the current names and add aliases for the less-confusing names. If v1/v2 ever ship, RenderDefault could be fixed to be Render.
The text was updated successfully, but these errors were encountered:
Page.Render sounds like it renders the page, but it doesn't, it renders the page using a named layout. It should have been called RenderLayout. RenderLayout would be less confusing.
Page.RenderShortcodes is confusing because it makes it sound like Page.Render doesn't render shortcodes. It should have been called Render. RenderDefault would be less confusing.
Perhaps we could deprecate the current names and add aliases for the less-confusing names. If v1/v2 ever ship, RenderDefault could be fixed to be Render.
The text was updated successfully, but these errors were encountered: