framework icon indicating copy to clipboard operation
framework copied to clipboard

Error in middleware intro example (doc)

Open bitranch opened this issue 5 years ago • 0 comments

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.

bitranch avatar Sep 09 '20 17:09 bitranch