Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how component and template interact #907

Open
joelhawksley opened this issue May 4, 2021 · 0 comments
Open

Document how component and template interact #907

joelhawksley opened this issue May 4, 2021 · 0 comments

Comments

@joelhawksley
Copy link
Member

Problem statement

As a consumer of ViewComponent, it can be difficult to understand the functional relationship between the component and template:

  • Are instance variables from the component accessible in the template?
  • What about instance methods?
  • Do instance methods need to be public to be accessible in the template?
  • What helpers are accessible?

Proposed solution

Add an explanation, potentially as an entirely new page? (Encapsulation?)

@joelhawksley joelhawksley self-assigned this Feb 10, 2022
@joelhawksley joelhawksley removed the v3 label Apr 27, 2023
@joelhawksley joelhawksley removed their assignment Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant