Kevin Phillips

Results 27 comments of Kevin Phillips

Related: https://github.com/canjs/can-type/issues/6#issuecomment-536667987

Some open questions: 1. can we have `type.ObservableObject|ObservableArray|DeepObservable` without causing circular dependencies? 2. Should we alias the methods to match the types? (like `type.nullable` as an alias for `type.maybe`) 3....

The big questions to me are: 1. Can you use an element created by `ReactDefineElement` from a React Component? There are [issues](https://custom-elements-everywhere.com/#react) using custom elements in React applications. 2. Can...

> (1) is trivial to work around so there's no problem there. @matthewp can you explain what you mean? If we want to make it possible to pass an object...

Below is an example of what it might look like to "just" support using JSX in a CanJS Custom Element. To make this, I set up this example with the...

I think we could use an IntersectionObserver to set the `src` of the iframe when it is in view. Something similar to how this is lazy-loading images: https://codepen.io/mishunov/pen/qpmWYP?editors=1010. > Would...

> We'd need to load all iframes above the current view. Why? Wouldn't they just be loaded if the user scrolls back up?

Yeah, I understand now. Thanks.

They grow to fit the size of the content. You can see the iframe in this example growing when the content is loaded: ![iframe-grow](https://user-images.githubusercontent.com/5851984/61465522-d4cfd400-a93d-11e9-870e-9ff00bde8f2f.gif) So if the user scrolls down...

This is in progress in https://github.com/canjs/can-vdom/pull/70.