-
Notifications
You must be signed in to change notification settings - Fork 3
Improvements to code examples #150
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This generally looks good to me 👍 Despite what I've said earlier offline, I think in this case it makes sense to consistently use relative imports though. The reason is that we don't know the package name the user wil choose for their app, and relative imports will "just work" as long as you put the snippets we suggest in the same folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now (apart from one minor nit) 👍
This PR introduces improvements to the code examples by