Best use cases to hide upcoming events in views after event or specific date in Drupal 8 would be creating an upcoming event views block and page without the Calendar module. After the event has passed, it's necessary for the event to be unpublished from views display.
I want to assume you know how to create content types, add fields and create views blocks and pages.
Views Module in Drupal CMS is one of the most popular and powerful tool in building website with Drupal.
- Views Module (in core)
- Date Module (in core)
To make event post automatically hide in views display after event date or specified date:
- Create a date field in your upcoming event content type.
- In your views settings, click add on the filter criteria option
- Search for event date (or whatever you named your date field in content type)
- Click apply (leave for all displays to be applied to all views display)
- In the operator region, select is greater than, value type: now.
- Click Save.
Now, after the specified upcoming event date, the content will disappear from the views block and/or pages.