Answer the question
In order to leave comments, you need to log in
How can I optimize (improve) the code?
There is this code:
const data = []
import data1 from './data1'
import data2 from './data2'
import data3 from './data3'
import data4 from './data4'
import data5 from './data5'
import data6 from './data6'
import data7 from './data7'
import data8 from './data8'
import data9 from './data9'
data.push(data1)
data.push(data2)
data.push(data3)
data.push(data4)
data.push(data5)
data.push(data6)
data.push(data7)
data.push(data8)
data.push(data9)
export default data
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question