diegohaz/arc

require.context

Ouverte

#131 ouverte le 24 févr. 2017

 (20 commentaires) (0 réaction) (0 personne assignée)JavaScript (291 forks)github user discovery
discussionhelp wanted

Métriques du dépôt

Stars
 (2 924 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I'm creating this issue to unify the discussions about require.context.

While that's very handy to import components, it comes with some drawbacks like #130, #113 and https://github.com/diegohaz/arc/issues/128#issuecomment-281914665

Personally, I don't have problems with it, the advantages are bigger than the issues for me. But, as many are having problems, we should consider removing it by default or at least give proper instructions on how to remove it.

If you are using this webpack feature (whether your project is based on ARc or not), please share your thoughts.

Guide contributeur