We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
They are mostly copy paste now:
I'm giving it a shot but stuck at some point, I wanted to do a this.props from getInitialProps to check new at:
this.props
getInitialProps
new
import ArticleEditor from "../../components/editor/ArticleEditor"; export default function PublishArticleEditor() { return ( <ArticleEditor new /> ); };
but I can't use this.props from there. Thinking is hard.
The text was updated successfully, but these errors were encountered:
OK, I managed it as in: ourbigbook/ourbigbook@8c05857 by creating a function that returns a function.
I also made it use ArticleAPI.update in the component rather than raw axios.
ArticleAPI.update
Now I'm going to convert to the better new API getStaticProps + getStaticPaths since my repo is a fullstack integration.
Sorry, something went wrong.
No branches or pull requests
They are mostly copy paste now:
I'm giving it a shot but stuck at some point, I wanted to do a
this.props
fromgetInitialProps
to checknew
at:but I can't use
this.props
from there. Thinking is hard.The text was updated successfully, but these errors were encountered: