5 ms·
We're working on simplifying the common case usage for props, but they are complicated right now because we're going for giving you the full flexibility of Reac
by jpochtar 9y ago
We're working on simplifying the common case usage for props, but they are complicated right now because we're going for giving you the full flexibility of React. What that means for us is that props have 2 parts: their definition and their usage. Go into the CODE tab of the sidebar and you'll see the prop definitions on top and the usages below. When you create a new binding by clicking "make dynamic", we automatically create both a definition and a usage for you. We don't do a great job of keeping the names in sync because we expect you'll rename the prop (and update the usage).
https://documentation.pagedraw.io/data-binding/ https://documentation.pagedraw.io/data-binding/