Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

We currently have a reusable component called <Calculator> that we can drop on any other component. It would be great if we could get React to render it as needed based on URL patterns. We can use the react-router nested routes.

App.jsx

Notice on line 29 that there is no oblique in front of sales

SalesHistory.jsx

No need to inject the <Calculator> anymore

  • No labels