mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 17:48:59 +00:00
1.0 KiB
1.0 KiB
layout, title, description, date, sidebar, comments, sharing, footer, ha_category
layout | title | description | date | sidebar | comments | sharing | footer | ha_category |
---|---|---|---|---|---|---|---|---|
page | Custom Panel using React | 2016-07-29 12:00 | true | false | true | true | Custom Panel Examples |
This is a React implementation of TodoMVC but instead of checking off to do items, you're turning lights and switches on/off.
- It uses React to render the data.
- It hooks into Home Assistant JS which means updates pushed from the server are instantly rendered.
- It accesses properties made available from Polymer.
- It uses the user configuration for the component in the
configuration.yaml
file for rendering. - It allows toggling the sidebar.
All you need is available as a custom component.
This video shows the frontend in action.