-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repo Proposal: creating a metal-jsx-extras repository #239
Comments
Hey @bryceosterhaus, after reading through #127 and #205, this comment by @mthadley particularly resonates:
I guess the same might be said about the What do you think? |
I would be fine with putting it in the So if we think "everyone will use these extras in all of their projects" then I would say put it in the jsx repo. But if we anticipate that only 50% will use these extras for their project, then I would say that we should put it in a different place. |
I think you guys have leveraged Also, depending on the build process, you probably will be getting rid of that dead weight anyways... |
I think our initial guess was that most would have not wanted to see these kinds of things added to the As far as them being framework bloat, I think the build process would need to have some kind of tree-shaking to remove them if they are unused. But again, these are very small additions to the library. |
Hey, I think we did merge this directly in |
I was looking into #205 and #127 and trying to figure out the best way to solve the two. After some research and talking with @mthadley, we thought it might be best to create a separate
metal-jsx-extras
repo that would contain extra(non-core) functionality formetal-jsx
. This would be a place we could export a util function likeotherProps
(#205) and util components like<DangerouslySetHTML />
(#127) since these are would be commonly used in along side ofmetal-jsx
.Usage:
@eduardolundgren, @jbalsas what are your thoughts on this? If it sounds like a good idea to you, I can go ahead and get it going.
The text was updated successfully, but these errors were encountered: