ylem
ylem copied to clipboard
Add Observable View-Models to React components
Components implemented based on Ylem.Component are not updating the when props changes. Here is a small example based on the Ylem sample CodeSandBox that reproduces the issue: https://codesandbox.io/s/ylem-paginated-grid-demo-gnn6d?fontsize=14
Recreate this JSBin / Demo http://canjs.com/doc/guides/atm.html But use react-view-models http://jsbin.com/yayupo/10/edit?html,css,js,output
Hooks is direction that React is going, regardless of any issues that some of us might have with them. The API inspiration for our current project comes from recompose and...
Here is a weird bug: https://codesandbox.io/s/wwwzqrqr7k If you un-comment the `mapProps()` bit, which should essentially be a no-op, it starts working as expected. So... that's kind of weird.
Currently ylem's `connect` function takes a ViewModel and a Component, but it can also take a second argument which is a config object. Currently this config object only supports one...
Ylem is trying to make rendering react components more efficient and solve the following rendering problem: When rendering an ylem component, you might have props of `{ foo: 'bar', bam:...
the [demo site](https://bitovi.github.io/ylem/) links [_Getting Started with Webpack_](https://github.com/bitovi/ylem/blob/master/docs/getting-started-webpack.md) and [_Getting Started with StealJS_](https://github.com/bitovi/ylem/blob/master/docs/getting-started-steal.md) docs don't exist. https://github.com/bitovi/ylem/blob/gh-pages/index.html#L51-L52
When the `map()` function is called on a `ObserveArray` it tries to convert all the items in it into Proxies. This is not necessary when the map is returning JSX....
Small bug in [observable-component.js](https://github.com/bitovi/ylem/blob/master/lib/observable-component.js) on line `95` `canReflect.splice(canKey.get(observable, key), values.index, values.deleteCount, values.insert);` This code seems to be modifying the original prop that was passed instead of replacing it with the...