seed_comp_helpers

Crates.ioseed_comp_helpers
lib.rsseed_comp_helpers
version0.0.3
sourcesrc
created_at2019-11-27 02:17:46.88192
updated_at2020-01-09 19:47:02.949002
descriptionComponent State - a clone of React Hooks use_state
homepagehttps://github.com/rebo/seed_comp_helpers
repositoryhttps://github.com/rebo/seed_comp_helpers
max_upload_size
id184674
size36,161
(rebo)

documentation

README

Some helpers and custom hooks for seed

  • on_click and on_input - shortcus for mouse_ev(Ev::Click, |f| Msg) and input_ev(Ev::Input, |f| Msg)
  • use_fetch and use_fetch_colleciton - custom hooks to manage json requets
  • graphql_list - example of a custom hook using the above to make a graphql query and keep a list up to date
  • form_state - proof of concept form helpers, very incomplete
  • schedule_update - schedule an app update from anywhere
  • init and get_app - access the app from anywhere
Commit count: 5

cargo fmt