1×
Become a member
to unlock all features

Create an egghead account to access 5000+ tutorials and resources from expert developers.

Create account
Autoplay

    Style and Format Dates in React

    reactReact

    The Event Page is looking pretty good. But we can do better.

    The date currently comes from a query that gets the start and end date as props and dumps that data out in a <p> tag.

    In this lesson, we'll add some custom logic to display the date of an Event how you would expect it.

    For a written version of this course, check out the Gatsby docs.