Skip to content
This repository has been archived by the owner on Oct 6, 2018. It is now read-only.

Consider name spacing components #41

Closed
chris-pearce opened this issue Mar 13, 2015 · 4 comments
Closed

Consider name spacing components #41

chris-pearce opened this issue Mar 13, 2015 · 4 comments
Assignees

Comments

@chris-pearce
Copy link
Owner

Using c-. Inspired by: http://csswizardry.com/2015/03/more-transparent-ui-code-with-namespaces/.

@kllevin @stowball what do you think?

@stowball
Copy link
Collaborator

I like it, but I also wonder whether it's overkill in a "normal", new situation. Everything not namespaced would be a component, right?

However, in terms of our legacy codebase that we're integrating with, it could be very useful for us to quickly see what's "new world"

@kllevin
Copy link
Collaborator

kllevin commented Mar 31, 2015

I would lean toward name spacing. All the other sections of the framework are name spaced so it is more consistent. Beyond the typical protection from collisions argument, it will also create a separation between components from the framework and custom project level components. I find it frustrating to scan a list of components and not be able to tell what was developed by my team, and what we are extending from a framework (Foundation in this case, but same idea).

@chris-pearce
Copy link
Owner Author

I'm gonna do this.

@chris-pearce
Copy link
Owner Author

Addressed in #74.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants