Anthony Short

Results 47 comments of Anthony Short

Yeah you should be able to do that. I'll reply with a bit more detail later today. You would still just need a custom `patch` function that takes the array...

This should be fairly straightforward, you'll just need to do something similar to the DOM renderer. You might have an API like this. ``` js // This will function roughly...

Making a render for Two or Fabric would be similar. I might try getting something like Two working as it should be fairly simple.

Thanks @jasonhansel. I'll write some tests and documentation for this. Any sort of escaping we've left up to the user depending on what they're trying to do. It looks like...

The idea is that the core of deku should be a `element`, a diffing function, and then two renderers that know how to respond to the diff. But if we...

There was some discussion about this in #346 and #337. It should be solvable, and should be a renderer-specific optimization. It'll still need to walk down the tree from the...

I really like that approach. That was the hard part about optimizing the renderer, context was a free-for-all, so knowing when to re-render was pretty tricky. `getProps` would work similar...

Sounds perfect to me!

And it probably won't be that hard to implement either. Which is an extra bonus. It's niceties like this that make it much more beneficial to use this over raw...

Thanks for the PR @heilage-nsk! I'm going to have a read through this soon and give you some feedback.