ViewComponent best practices? #3329
-
Hey team! 👋 We're using ViewComponent and Primer (not necessarily basing everything completely on Primer but definitely taking a lot of cues from it). I've been struggling to find a comprehensive list of best practices and am curious if you have a list of guidelines. I'm aware of the list on the ViewComponent website but am also considering some other items, such as:
Thank you! ❤️ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @phil-janeapp, thanks for asking about this! Glad to hear Primer is useful to you 😄 The ViewComponent website doesn't really talk about specific, in-the-weeds component development, so this is probably the right place to have that conversation.
Great question! IMO there are a couple of things to consider:
Another great question. In my experience, there are two ways to handle this:
|
Beta Was this translation helpful? Give feedback.
Hi @phil-janeapp, thanks for asking about this! Glad to hear Primer is useful to you 😄 The ViewComponent website doesn't really talk about specific, in-the-weeds component development, so this is probably the right place to have that conversation.
Great question! IMO there are a couple of things to consider: