react-media
react-elm-components
react-media | react-elm-components | |
---|---|---|
1 | 1 | |
2,431 | 781 | |
0.0% | -0.1% | |
0.0 | 0.0 | |
about 5 years ago | 3 months ago | |
JavaScript | Elm | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-media
-
How to make my scene responsive for other devices?
Thanks, I'll take a closer look to bounds. I came up with a different solution. My problem was that when opening the project in smartphones everything started to look excessively zoomed in. I ended up using react-media and put the camera a bit farther when I had to handle the 'small' screen case, otherwise just render everything how it is. Perhaps not the most optimal solution but it works for now haha :)
react-elm-components
-
Why and How We Retired Elm at Culture Amp
They were considered, I was on the team that considered them. (I work at Culture Amp and at one point was leading the Design System team).
To be clear: embedding Elm in React is easy (we host the main NPM library for doing so: https://github.com/cultureamp/react-elm-components). But embedding React in Elm is harder, as Elm doesn't give any easy "escape hatches" to interact with native JS code.
The main opportunity is to use Web Components. Elm knows how to render any HTML component, including `x-my-custom-button`, which could render using React or something else. We looked into options for this, including prototyping https://www.npmjs.com/package/backstitch as a way to embed our React components as Web Components for consumption in Elm. (No open source packages existed to do this at the time).
We also did quite a deep dive on using Stencil, which has a React-like API, to create web components for both React and Elm - even including publishing new plugins for the ecosystem to generate Elm bindings for your web components. Kevin went into some of the detail for this in the post if you're interested.
What are some alternatives?
react-google-analytics - Google analytics component
elm-react-component
qrcode.react - A <QRCode/> component for use with React.
reactfire - Hooks, Context Providers, and Components that make it easy to interact with Firebase.
react-middle-ellipsis - Truncate a long string in the middle, instead of the end.
EVT - 💧EventEmitter's typesafe replacement