Commit Graph

2 Commits

Author SHA1 Message Date
Luke Chu 3293b1d474
Extract `sycamore` crate into multiple crates (#416)
* Create a new sycamore-core crate

* Fix compile errors

* Add missing feature flag

* Move noderef.rs back to sycamore crate

* Fix remove logic in reconcile_fragments

* Fix doctests

* perf: remove useless dyn_into() when static also works

* Update builder API to use free functions

This is a BREAKING CHANGE

* Create sycamore-web crate

* Move more modules into sycamore-core crate

* Restructure wip

* cargo fmt

* Move DomNode, HydrateNode, and SsrNode to sycamore-web

* Fix compile errors when rebasing

* Restructure sycamore-web exports

* Fix import ambiguitiy

* Fix doctests for builder API

* Fix builder intra-doc link

* Make SsrNode internal representation private

* Remove pub from Comment

* Doc fixes

* Make sycamore compile without default features

* Fix compile with no default features on wasm32

* Fix suspense unit test

* Fix tests

* Fix tests and update CI config

* cargo fmt

* Fix compile error in motion.rs

* Fix conditional compilation
2022-05-16 17:43:54 -07:00
Luke Chu 564449454a
Document Fragments (#89)
* Remove SignalVec

* Move TemplateResult into sub-module

* wrap comments at 100

* Make TemplateResult able to hold a fragment

* Iter and IntoIter for TemplateResult

* Update flow.rs

* Update render_* functions

* Update Render trait

* Make Render accept slice

* Update template! macro

* Fix template!

* Allow multiple children at template! root

* Add some integration tests

* Add some more integration tests

* Add more docs
2021-04-06 23:23:57 +00:00