Skip to content

Commit

Permalink
Add a react version of the demo notebook. (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
vengroff authored Jan 3, 2025
1 parent 5856a42 commit fc6e3ba
Show file tree
Hide file tree
Showing 8 changed files with 17,601 additions and 0 deletions.
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

0 comments on commit fc6e3ba

Please sign in to comment.