CopyPastor

Detecting plagiarism made easy.

Score: 0.8057209849357605; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2018-03-17
by Pranita

Original Post

Original - Posted on 2015-10-05
by mpen



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Can you try the following syntax for your webpack config file?
https://webpack.js.org/concepts/loaders/#configuration <br /> https://github.com/webpack-contrib/css-loader
module: { rules: [ { test: /\.css$/, use: [ { loader: 'style-loader' }, { loader: 'css-loader', options: { importLoaders: 1, modules: true, localIdentName: '[name]__[local]__[hash:base64:5]' } } ] } ] }
If you're already using lodash, the [`_.times`](https://lodash.com/docs#times) function is handy.
import React, { Component } from 'react'; import Select from './Select'; import _ from 'lodash'; export default class App extends Component { render() { return ( <div className="container"> <ol> {_.times(3, i => <li key={i}> <Select onSelect={this.onSelect}> <option value="1">bacon</option> <option value="2">cheez</option> </Select> </li> )} </ol> </div> ); } }



        
Present in both answers; Present only in the new answer; Present only in the old answer;