Justin Starry
f48bc90edb
Use callbacks in examples ( #781 )
2019-12-07 16:56:26 -08:00
Justin Starry
4f31997968
Bump stdweb to 0.4.20 ( #694 )
2019-10-11 00:09:55 -04:00
Cameron Taggart
c24ee3e6e1
bump to stdweb 0.4.19 ( #683 )
2019-10-07 12:44:08 -04: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
38300e6597
cargo fmt --all
2019-07-30 00:51:18 -04:00
Justin Starry
fe3d6249d3
Use updated jsx syntax in examples and documentation
2019-07-05 21:49:12 -04:00
Justin Starry
f9cf5ea47f
Bump example recursion limits
2019-06-13 10:29:53 -04:00
NaokiM03
3023aaa511
Fix script src of examples
2019-02-16 10:32:57 +03:00
Denis Kolodin
2a1903cb4d
Update all examples to Rust 2018
2019-02-02 16:03:07 +03:00
Denis Kolodin
fc7f7a97ea
Add start_app method
2019-02-02 01:26:04 +03:00
Denis Kolodin
016dfe7175
Make scheduler a singleton and use it as a thread_local global instance
2018-06-08 09:44:20 +03:00
Denis Kolodin
126f847d34
Remove CTX type of examples
2018-06-08 09:44:20 +03:00
Denis Kolodin
e73f025b09
Remove context argument from examples
2018-06-08 09:44:20 +03:00
Denis Kolodin
bdc061ac0b
Remove Activator alias
2018-06-08 09:44:20 +03:00
Denis Kolodin
a8dd243d09
Add component's link to all examples
2018-06-08 09:44:20 +03:00
Denis Kolodin
ffd8a9890c
Rename Msg type of Component to Message
2018-04-26 15:47:33 +03:00
Denis Kolodin
177035fd9a
Hide ComponentUpdate inside the crate
2018-04-25 10:16:35 +03:00
Denis Kolodin
b25a6a2602
Implement scheduler with slab
2018-04-24 22:49:52 +03:00
Denis Kolodin
894f071ebb
Add an example to test a context borrowing race
2018-04-23 22:54:24 +03:00
Denis Kolodin
deb838b2e1
Fix examples for the new context reference
2018-04-23 22:54:24 +03:00
Denis Kolodin
7f6db78510
Replace scheduler and channels by cells held by Activator
...
This it good refactoring of the main loop and the scheduler.
Now we don't need JS scheduler anymore and it will have a
positive impact on preformance.
2018-04-23 22:54:24 +03:00
Denis Kolodin
992c4e21a7
Hide Scope behind App
2018-04-20 22:24:52 +03:00
Denis Kolodin
8cff051a5b
Derive Default for ConsoleService and DialogService
2018-04-20 09:42:06 +03:00
Denis Kolodin
8f227f949b
Move examplef out of showcase
2018-04-15 09:41:51 +03:00
Denis Kolodin
86af2b9d1c
Move demos into the showcase
2018-04-09 22:04:57 +03:00
Denis Kolodin
e4c37cdc4f
Update examples (add failure's Error to the format module)
2018-02-22 23:34:28 +03:00
Denis Kolodin
1cec52140f
Set properties on component creation
...
Fixes bug with initial value in custom_components example
2018-02-08 22:05:37 +03:00
Denis Kolodin
daf1ddd51d
Add Renderable trait, remove redundant App struct, rename ScopeRef to Env
2018-01-15 02:07:47 +03:00
Denis Kolodin
8a6f387eac
Fix missing docs
2018-01-12 10:57:24 +03:00
Denis Kolodin
7b758fbd1e
Fix all examples
2018-01-12 01:53:18 +03:00
Denis Kolodin
808d8b4fab
Add create method to Component trait
...
And remove Default trait requirement.
2018-01-09 10:47:20 +03:00
Denis Kolodin
5cd1fc688d
Rewrite examples with Component approach
...
Models were not split into multiple small components
2018-01-09 01:20:11 +03:00
Denis Kolodin
4a1873e79d
Rename land method to mount
2018-01-07 11:53:11 +03:00
Denis Kolodin
1c48a2896a
Use app sender instead for pool borrowing
2018-01-06 17:43:33 +03:00
Denis Kolodin
cafb04a690
Add two_apps example and isolate yew_loop
...
But not for events
2018-01-06 17:21:54 +03:00