mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* fixed missing feature flag for yew dependency
* added functional components + hooks + tests
* added wasm pack to travis yaml
* fixed warnings
* ran rustfmt on files
* fix nit
* fix nit
* fix nit use_reducer_with_init
* fixed nit Rc can be Box
* fixed nit: unnecessary boxing
* UseRefState now tuple struct
* fixed unecessary option for phantomdata
* userefstate is now a type alias for Rc<RefCell<T>>;
* integrated suggested change to hook state storing and extracting
* functional-yew -> functional
* tests now work with stdweb *and* web_sys 😊
* correctly implemented use_effect
* hook test now running as stdweb. also removed redundant deps
* removed next tick, message is now an FnOnce -> bool, renamed render_call
* tests now run on web_sys only, making functional yew backend agnostic
* removed use_effect hook for seperate PR
* chore
* we didn't need that Rc anymore
* chore; comment cleanup
Co-authored-by: Mathis <mk@thepeaklab.com>