Skip to content

Instantly share code, notes, and snippets.

@CliffCrerar
Last active July 23, 2020 17:27
Show Gist options
  • Save CliffCrerar/d2df1b1d06e7c9ae36c7d1051dadadcc to your computer and use it in GitHub Desktop.
Save CliffCrerar/d2df1b1d06e7c9ae36c7d1051dadadcc to your computer and use it in GitHub Desktop.
challenge

Challenge:

I challenge you to create a back button that that takes you back to the create screen and populates the inputs with the inputs from the route.

  • Use what you have learned from the existing implementation.
  • On first load the inputs must remain blank as they are now.
  • On the view screen displayed there will be something created as it is now.

Victory Conditions:

  • Click on a back button.

  • Routing must not be imperrative. (not allowed to use the navigte method on the Router service.)

  • Land back on the craete screen with the inputs populated from the route.

  • Everything else goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment