Now that we can persist posts to our JSON Server, we turn to the views.
This is the view that is used to create and edit blog posts. The editor markup is omitted in the listing in the text, as it is very long and isn't needed to explain the component. You can see the complete source, including the Quill markup, in
ch8.zip. As with the user creation screen in the previous chapter, we'll start with the mixins and React lifecycle methods, then go through the form submission sequence.
Here is what the post create/edit view will look like when we are done:
Here is the post create/edit ...