Consumer and retail sector exchange traded funds have been among the better performing areas of the market so far this year, but things could change if the Federal Reserve decides to hike rates.

Year-to-date, the Market Vectors Retail ETF (NYSEArca: RTH) advanced 8.4% while the SPDR S&P Retail ETF (NYSEArca: XRT) increased 6.1%. Meanwhile, the Consumer Discretionary Select Sector SPDR (NYSEArca: XLY) rose 6.2% and First Trust Consumer Discretionary AlphaDEX Fund (NYSEArca: FXD) gained 4.9% so far this year. In contrast, the SPDR S&P 500 ETF (NYSEArca: SPY) added 1.6%. [Deflationary Pressures to Support Consumers, Retail ETFs]

For now, investors may capitalize on consumer sector momentum as an expanding economy fuels growth.

“The early part of a rate hike cycle should be beneficial to the consumer discretionary sector,” Pat O’Hare, chief market analyst at Briefing, said in a U.S. News article. “Higher rates are presumably the result of a pickup in economic growth that is flowing from higher levels of employment, which creates a stronger sense of job security, higher wage growth and increased lending activity, and that leads to higher levels of spending.”

We are currently witnessing improving jobs numbers, with the U.S. unemployment rate back down to 5.5% as of February, although wage growth has not really picked up yet. Interest remain near historical lows. Additionally, many expect the depressed energy prices to fuel consumer spending since cheaper fuel costs keep more money in American consumers’ wallets. [Consumer Discretionary ETFs Could Pick Up Steam]

Nevertheless, historical data suggests that discretionary and retail sectors could slow down after the Fed hikes rates.