Evan Almloff
77b08f2330
fix router resource docs
2024-06-19 08:54:39 -07:00
Chris Rogus
7ee3dc41fc
nonreactive examples for hooks were not compilable as written ( #2337 )
...
* nonreactive examples for hooks were not compilable as written
* add example demonstrating the correct usage of use_resource w router
* switch to readonlysignal in the router resource example
* fix readonlysignal name
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-06-18 18:39:45 -05:00
Evan Almloff
d795995e20
Create closure type; allow async event handlers in props; allow short hand event handlers ( #2437 )
...
* create closure type; allow async event handlers in props; allow shorthand event handlers
* test forwarding event handlers with the shorthand syntax
* fix clippy
* fix imports in spawn async doctest
2024-06-10 18:47:07 -07:00
Sam Tay
054351139f
Update openid example ( #2474 )
...
* Update openid example
* Trim unnecessary deps
* Update serve instructions
* Remove unnecessary version in patch directive
* Remove outdated workspace instructions
* use storage signals instead of global signals with manual synchronization
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-06-06 18:05:25 -07:00
Evan Almloff
b3cd4fac10
set up example scaping for docs.rs ( #2450 )
2024-05-28 13:05:55 -07:00
Evan Almloff
afc1c7f31a
enable the web renderer in the PWA example
2024-05-28 14:06:27 -05:00
Evan Almloff
e2002d6ea4
fix clippy
2024-05-20 13:01:04 -05:00
Evan Almloff
472031d1f5
Fix link to file_upload example
2024-05-02 05:16:16 -05:00
Evan Almloff
08da9a1253
Implement hash fragments in the router ( #2320 )
...
* implement hash fragments in the router
* clean up query and search example
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-04-25 14:30:25 -04:00
Evan Almloff
72ef58b95e
Create use_muda_event_handler hook ( #2367 )
...
* create use_muda_event_handler hook
* fix use_muda_event_handler re-export
2024-04-25 13:32:34 -04:00
alongdate
a5b4ceed39
chore: fix some typos in comments ( #2340 )
...
Signed-off-by: alongdate <alongyear@outlook.com>
2024-04-19 08:29:22 -05:00
Evan Almloff
5ce91e1bfc
Fix flakey windows tests ( #2332 )
2024-04-17 15:08:38 -07:00
Christos KK Loverdos
ffe02b43c5
fix: typo ( #2202 )
2024-03-31 10:24:24 -05:00
Evan Almloff
36f67bd5e2
update 0.4 doc links to 0.5
2024-03-27 20:42:07 -05:00
Evan Almloff
86d1dba699
Check type of launch config ( #2125 )
...
* Check type of launch config
* fix cargo check
* compile when using an explicit platform with other platforms enabled
* fix formatting
* fix overlapping TryIntoConfig implementations
* fix desktop headless tests
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-27 12:08:05 -07:00
Miles Murgaw
3cbe6ff96e
Fix Outdated README.md ( #2147 )
...
* fix: outdated readme
* Fix missing readme
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:17:02 -07:00
Jonathan Kelley
44e997f7df
Fix eventhandler optional ( #2119 )
2024-03-20 09:04:37 -07:00
Jonathan Kelley
4bb807a3ce
Reduce churn in window behavior
2024-03-18 22:38:33 -07:00
Evan Almloff
d442dac168
Add a menu bar option to the desktop config ( #2107 )
...
* add an option to set a custom menu in the desktop config
* Fix rename issue
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-18 22:36:47 -07:00
Jonathan Kelley
2dc6cecf2e
Fix #2043 : use formvalue instead of String for forms ( #2103 )
...
Fix #2043 : use formvalue instead of String for forms
2024-03-18 18:21:08 -07:00
Jonathan Kelley
9c64fc4769
Fix #1938 , allow explicit props
2024-03-18 15:34:46 -07:00
Jonathan Kelley
f9f902732b
Fix: update wry, tao, to fix android issues
2024-03-15 20:12:13 -07:00
Jonathan Kelley
fe2c17f792
Make Clippy happy
2024-03-15 12:20:16 -07:00
Evan Almloff
2e7b8cb178
unwind panics into error boundaries
2024-03-13 18:55:57 -05:00
studystill
3a21ac5710
remove repetitive words ( #2046 )
...
Signed-off-by: studystill <chenghuiyue@outlook.com>
2024-03-11 09:49:26 -05:00
Robin Tretter
8eda67ecb2
added hot-reload as config option with default to true ( #2024 )
2024-03-08 14:54:03 -06:00
Evan Almloff
60a84956d1
restore lifetime checking for signals
2024-03-08 10:32:57 -06:00
Jonathan Kelley
295c29db5d
Merge pull request #2005 from ealmloff/fix-suspense
...
Only poll suspended futures, lazy memos
2024-03-07 23:43:52 -08:00
Jonathan Kelley
bb5ecd779f
clean up some examples, ensuring stuff works
2024-03-06 19:50:07 -08:00
Jonathan Kelley
81f38a0bc5
cfg out globalhotkey
2024-03-06 16:42:45 -08:00
Jonathan Kelley
f7f416ee3a
Fix hydration
2024-03-06 12:19:59 -08:00
Evan Almloff
da4d9c70e8
fix memo chain example
2024-03-06 11:42:31 -06:00
Evan Almloff
492f0329bf
remove flume, implement lazier memos
2024-03-06 11:38:28 -06:00
Jonathan Kelley
95d7012c8d
fix hashing system, bump wasm-bindgen
2024-03-06 02:00:24 -08:00
Jonathan Kelley
4b2e426958
clippy, and don't hash invisible files for ts generation
2024-03-05 22:38:38 -08:00
Jonathan Kelley
78d16536a7
wip: native file handles when dropping 🎉
2024-03-05 13:57:28 -08:00
Jonathan Kelley
403e8e2f49
Clean up file uploads in desktop/liveview, remove minify
2024-03-05 13:00:27 -08:00
Jonathan Kelley
56a365742c
clean up native js more
2024-03-05 12:08:33 -08:00
Jonathan Kelley
16b38e339d
Merge branch 'main' into jk/fix-form-inputs
2024-03-04 17:46:38 -08:00
Jonathan Kelley
199173a409
fix navigating when files are dropped
2024-03-01 23:37:46 -08:00
andrey
c9f04ac3d0
remove things that werent meant to be in last commit
2024-02-28 11:45:08 +08:00
andrey
70136b22ea
Fix error in examples/future.rs comments, use_futures inline docs comments, also added clarification that Signal<T>.read() and Singal<T>() are the same thing
2024-02-28 11:42:04 +08:00
Jonathan Kelley
53cafefdef
wip: add tests and slightly refactor interpreter code
2024-02-23 17:38:04 -08:00
Jonathan Kelley
c5096ff5bc
add gitignore to tailwind
2024-02-22 08:53:37 -08:00
Jonathan Kelley
0ae0929691
fix: some simple formatting and version numbers
2024-02-21 14:32:19 -08:00
Jonathan Kelley
f9eabbe8ef
clippy!!
2024-02-18 21:29:10 -08:00
Jonathan Kelley
a454f2c7ac
Merge pull request #1941 from jereanon/fix/25-examples-repo
...
Address discrepancies between examples repo and examples
2024-02-15 18:06:24 -08:00
Jeremy Arnold
b7cc7438eb
update readme to remove dead examples
2024-02-14 15:26:52 -08:00
Jeremy Arnold
6e2b0e5a55
image_generator_open_ai example project
2024-02-14 15:21:32 -08:00
Jonathan Kelley
cbadea022a
Eval should never return an error
...
Only awaiting eval should error.
Eval should always be available, even if using its methods returns errors.
2024-02-14 15:13:15 -08:00