Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in middleware intro example (doc) #841

Open
bitranch opened this issue Sep 9, 2020 · 0 comments
Open

Error in middleware intro example (doc) #841

bitranch opened this issue Sep 9, 2020 · 0 comments

Comments

@bitranch
Copy link
Member

bitranch commented Sep 9, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant