Jimmy Jia

Results 391 comments of Jimmy Jia

Well, the idea is that with flat deps in most recent versions of npm, you get these automatically when using React Router.

BTW, since you mentioned react-select, it might also be worth setting up some strawman for what you want the API for theming library components to look like. I think that...

How do you extract CSS at build time with Aphrodite?

I saw that part. It seemed like this would be fairly difficult to work into a build pipeline, though. You'd have to build something custom to render your app in...

I think it's worth proving that out and seeing what the edge cases are. Aphrodite for example (if I'm not mistaken) only injects styles that actually get used, rather than...

I think one that comes up is "how do I integrate with global CSS libraries like Bootstrap"... or to be a bit self-centered, how to do so in the context...

Sure. Just wanted to highlight that this can be bit harder than it seems if you're using React wrappers for those libraries. React-Bootstrap has a bunch of components that look...

And I'm fine with the answer being "fix the React-Bootstrap API" – just need to know how.

Well, it's straightforward with CSS Modules (and I think glamor as well?) in that you just target the equivalent of `:global(.child)` in a selector. IIRC we couldn't figure out how...

It's worked okay for us so far in using CSS Modules with React-Bootstrap. For React-Bootstrap we consider the DOM representation part of the public API, so there are semver guarantees....