3 ms·
First impressions: looks like Angular's two-way data binding (using custom attributes in the template itself) added to React. This should make it possible to wr
by jasim 10y ago
First impressions: looks like Angular's two-way data binding (using custom attributes in the template itself) added to React. This should make it possible to write complex views quite fast - without writing much code, and yet we don't lose out on the component-based composition of Javascript code offered by React.
What I need time to get around to is the concept of controllers and how it works when we want to compose things together. For example, how to write a multi-select widget that exposes a clear API to the rest of the world (onChange), and encapsulates all other details within. Cx does deserve a deeper look, and I'll definitely give it a whirl some time. Also kudos for the extensive documentation you've so far written!
- mstijak 10y agoThanks. Here's an example of a complex lookup field in practice. https://github.com/codaxy/cx-starter-kit/blob/master/app/routes/admin/orders/single/index.js https://github.com/codaxy/cx-starter-kit/blob/master/app/rou... It's perfectly fine to add multiple bindings between lookup options and field's data. That works for multivalue fields too. If you have any other questions I'm happy to answer in this thread https://news.ycombinator.com/item?id=12495728 https://news.ycombinator.com/item?id=12495728