Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a react version of the demo notebook. #4

Merged
merged 4 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ docs/_autosummary

# Notebook checkpoints.
.ipynb_checkpoints

# Node modules.
node_modules
13 changes: 13 additions & 0 deletions react/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# REM React Demo

This demonstration illustrates how to use [react](https://react.dev/) to call
Rewiring America's Residential Electrification(REM) API. It constructs a web page
that allows users to type in their address and current heating fuel and get an
estimate of how much they could save by switching to a heat pump.

To the user, the final result looks a lot like our [HTML/JavaScript demo](../www).
The only difference is that this version is written in react.

If you are not already familiar with react, we suggest you have a look
at the [Tic-Tac-Toe Tutorial](https://react.dev/learn/tutorial-tic-tac-toe),
which is a great interactive introduction to react.
Loading
Loading