Mastering lit-html directive

06c292fa0b9557777d3cb4663ceec40a?s=47 aggre
September 18, 2018

Mastering lit-html directive

Polymer Japan Cafe #3( https://polymer-japan.connpass.com/event/100320/ )での LT 資料です

06c292fa0b9557777d3cb4663ceec40a?s=128

aggre

September 18, 2018
Tweet

Transcript

  1. 2018.09.18 @ Polymer Japan Café LT

  2. aggre @aggre_ @aggre FRAME00, INC. CTO

  3. What’s lit-html

  4. None
  5. What’s lit-html directive

  6. None
  7. None
  8. directive

  9. part.setValue()

  10. html`<div>${text}</div>` ?

  11. None
  12. None
  13. until

  14. until Promise

  15. until directive

  16. until

  17. until

  18. until defaultContent

  19. until promise

  20. directive

  21. API directive is

  22. html`<div>${text}</div>` render()

  23. directive

  24. None
  25. Rx

  26. Rx unsubscribe !

  27. unsubscribe … https://github.com/aggre/ullr/blob/master/src/directive/subscribe.ts

  28. Simple But Powerful