Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 778 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 778 Bytes

Workout Builder

Working Example: https://workoutbuild.com

Coding Patterns

There are two unusual coding patterns in this project that are worth pointing out.

  • Property Injection: Dependencies are injected via properties on the services/controllers, versus the constructor.
  • MVC with React Components: The best of both worlds. Each Razor view loads a page-specific javascript file, which contains a React component. As more Views are added, each one will have its own page-specific javascript file. This is accomplished by tweaking webpack to have multiple entry points (see below)

"home-index": "./src/home-index.tsx"