understanding 'import' order on the same line. Getting error when switching places

前端 未结 0 1000
南旧
南旧 2021-01-29 16:57

why does the 1st line work but not the second ?

import React, { useRef, useEffect, useState } from \'react\'
import  { useRef, useEffect,         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题