What's the difference between a card and a canvas? | Community
Skip to main content
Answered

What's the difference between a card and a canvas?

  • September 9, 2020
  • 1 reply
  • 39 views

Forum|alt.badge.img

I'm building an app using the Canvas Kit. What's the difference between a card and a canvas?

Best answer by Eric Fitz

The main difference here is that a card is an instance of a Messenger App that loads into each user’s specific Messenger instance.

 

The canvas is the object that contains the components that make up the Messenger App. The canvas can be iterated on within the same card instance multiple times, while the card itself never actually changes.

1 reply

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • September 9, 2020

The main difference here is that a card is an instance of a Messenger App that loads into each user’s specific Messenger instance.

 

The canvas is the object that contains the components that make up the Messenger App. The canvas can be iterated on within the same card instance multiple times, while the card itself never actually changes.