framework
framework copied to clipboard
Error in middleware intro example (doc)
Bug
Package Version: 7.0.2
Code
The middleware example on https://dojo.io/learn/middleware/introduction (framework/blob/master/docs/en/middleware/introduction.md in the repo) has a bug in this line:
<div>{`Middleware property value: ${properties.middlewareProp}`}</div>
That should be properties().middlewareProp -- otherwise it only produces undefined no matter what.
Expected behavior:
The example code should run as written.
Actual behavior:
The line always produces undefined.