Justin Starry
70862a46a1
Revert "Improve nested html! expansion by unwrapping VNodes ( #820 )" ( #842 )
...
This reverts commit a900fbee496d1140b424bcb2f1c91402d20eca2b.
2020-01-04 13:35:50 -05:00
Justin Starry
f7313348f6
Fix generic component tags in html macro ( #837 )
2019-12-31 00:03:02 -05:00
Konstantin Itskov
a900fbee49
Improve nested html! expansion by unwrapping VNodes ( #820 )
...
* Improve nested html! expansion by omitting VNodes
* Add unittest and fix child node expansion
* Fix existing unittests and check backward compat
* Fix rebase conflicts
* Parse expression
* Fix clippy
Co-authored-by: Justin Starry <justin.starry@icloud.com>
2019-12-28 22:27:23 -06:00
Justin Starry
b801d4fbf9
Improve macro error message for unexpected close tag ( #831 )
2019-12-28 21:27:13 -06:00
Justin Starry
33351f3e2a
Use stable rust in CI for rustfmt and clippy ( #829 )
2019-12-28 21:08:30 -06:00
Justin Starry
84a9ed0e09
Make virtual dom cloneable ( #786 )
2019-12-28 20:53:29 -06:00
Justin Starry
f61667be97
Remove generics from virtual dom ( #783 )
...
* Fix tests
* Remove generics from virtual dom
* Prep for degenerify
* Fix examples
* Remove props cloning
* Fix tests
2019-12-08 10:47:51 -08:00
Justin Starry
6ba83fc061
Update min rust version to 1.39.0 ( #730 )
...
* Update min rustc to 1.39.0
* Bump wasm-bindgen to 0.2.54
* always install wasm-bindgen-cli
2019-11-10 20:19:34 -05:00
Justin Starry
c178d5273f
Add ref attributes to enabling DOM access in Components ( #715 )
2019-11-04 00:32:56 -05:00
Justin Starry
43e9347269
Add render method to Component and auto implement Renderable ( #563 )
...
* Add render method to Component and auto implement Renderable
* More cleanup
* Rename Renderable method from view to render
* Doc fixes
* fix
* Update CHANGELOG.md
2019-09-30 22:23:25 -04:00
Justin Starry
5c367d2c6a
Update tests
2019-08-25 21:54:58 -04:00
Justin Starry
23c23d74ec
Cleanup
2019-08-25 18:28:51 -04:00
Justin Starry
7ae088647b
Add tests
2019-08-25 18:12:14 -04:00
Justin Starry
74373e6164
Add lifetime support to derive props macro
2019-08-11 17:38:49 -04:00
Justin Starry
320eaa99a7
Use min rust version for macro tests
2019-08-07 22:47:43 -04:00
Justin Starry
3fed651b42
Add support for required props
2019-07-20 22:38:50 -04:00
Justin Starry
7cd3cb7676
Run macro tests on CI
2019-07-15 10:18:17 -04:00