1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

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.