Nicholas Rice

Results 27 comments of Nicholas Rice

Yea the min-repro isn't a real use-case (but it is pulled from Enzyme documentation). I'm trying to write a test to validate that a context provider is providing the *same*...

I am definitely in support of exposing dispatchEvent. The largest use-case for us will be context and dependency-injection APIs. Our DI infrastructure already is implemented using events on the client,...

Thanks @KingOfTac! It's been a long time since I've look at this code - go for it if it's an improvement!

Working repro of the above here: https://stackblitz.com/edit/typescript-vbqeaz?file=index.ts,index.html I think this is a bug. Templates can be embedded in other templates and I'm pretty sure we do this in other places,...

That work actually [went it](https://github.com/microsoft/fast/blob/master/packages/web-components/fast-foundation/src/directives/reflect-attributes.ts) but it works a little differently than the described desired behavior. I'm not actually sure how useful `reflect-attributes` is as-is but it works as @chrisdholt...

Oops yep, that wouldn't work at all, good call. Great, providing async context / configuration to `ElementRenderer` seems like a good approach. Using `RenderInfo` to communicate that seems like it...

> > > What's left to get this in, even with a beta tag? People are asking for an updated Color Explorer and for technical and site publishing reasons I'm...

Another lib I found for this is https://github.com/asyncLiz/minify-html-literals. It is the backbone of https://www.npmjs.com/package/rollup-plugin-minify-html-literals?activeTab=readme, but I haven't been able to track down a webpack loader that implements it.

At this point I don't think this is an issue related to the ElementInternals implementation that we have and more of a component implementation issue. In this repro, only the...

I've distilled the repro down to one that uses only DOM APIs (no FAST code): https://stackblitz.com/edit/typescript-rguvon?file=index.ts The behavior appears inherent to using both the ElementInternals feature in conjunction with delegatesFocus,...