What happened

Shares of Cheesecake Factory (CAKE -0.49%), BJ's Restaurants (BJRI -4.94%), and Red Robin Gourmet Burgers (RRGB -6.71%) all declined more than 10% at one point Thursday, with Red Robin dropping as much as 20%, as COVID-19 coronavirus fears continue to spread and pressure restaurant stocks, among many others.

So what

As fears regarding the COVID-19 coronavirus spread, and the number of new cases continues to rise, markets have been swinging from significant gains to losses on any given day. At the time of this writing, the count of COVID-19 coronavirus cases worldwide was 97,771, and deaths had reached 3,346. At least 165 people have tested positive in the U.S., and some companies in specific areas have begun to recommend employees work from home.

Public health officials are also suggesting that people think twice about attending large events and gatherings, and even places such as nursing homes. It's the uncertainty and disruption to some consumers' daily lives, and the fear the impact could get much worse, that are hurting the markets.

Cheeseburger, fries, and beverages on a table.

Image source: Getty Images.

Thursday was a down day, with the S&P 500 and Dow 30 trading 3.4% and 3.6% lower, respectively, and California declaring a state of emergency over the COVID-19 outbreak. Coronavirus fears are hurting restaurant stocks as analysts and investors believe the outbreak will hinder foot traffic and hurt sales during the quarter. Restaurant stocks have been hammered over the past month.

^SPX Chart

^SPX data by YCharts.

Now what

It's incredibly easy to be fearful about COVID-19 with all the headlines and stock market volatility, but from an investing perspective, this development shouldn't have a lasting impact on stocks. Will it hurt some businesses this quarter? Of course it's likely to have some negative impact. But that will all balance out over the long term, and it's possible this stock market correction could offer investors a discount on desirable stocks.

In fact, on Wednesday analysts at Wedbush Securities noted that restaurant stocks seemed oversold, and Wells Fargo took the opportunity to upgrade shares of Chipotle (CMG -0.70%) to overweight from equal weight, bumping the price target to $1,000. While the outbreak and uncertainty will almost certainly hurt many stocks in 2020, it's a great reminder for investors to dust off their investing thesis for stocks in their portfolio and ask themselves if the long-term strategy is still intact. Long-term investors owning solid businesses should take these virus-related pops and drops with a grain of salt and refrain from any knee-jerk reactions.