william57m / homekit-react-components Goto Github PK
View Code? Open in Web Editor NEWHomeKit and iOS widgets replica for web usage
Home Page: https://william57m.github.io/homekit-react-components/
HomeKit and iOS widgets replica for web usage
Home Page: https://william57m.github.io/homekit-react-components/
Hey,
I'm trying to make some contributions, but having some issues getting these to import correctly. My HA dashboard is working fine with the published npm version, but I get the below errors when using the built version. I think the issue is the props aren't being passed through, but can't see a reason why.
Invalid hook call. Hooks can only be called inside of the body of a function component
I've forked the repo, ran the build command, and then I've tried using yarn link and pointing my import line to the dist/index.js
file, but both result in the same issue
Any ideas?
Hi,
I am getting this error when trying to use your package:
Server Error
ReferenceError: self is not defined
This error happened while generating the page. Any console logs will be displayed in the terminal window.
../node_modules/homekit-react-components/node_modules/react-mobile-picker/lib/react-mobile-picker.js (1:11175)
I also had the same error in your dist/index.js file (line 10, char 4) -> "})(self, function() {". I changed this to "})(this, function() {" and got the error above.
Any tips or is this package dead?
Haven't had time to look at these myself, but there seems to be a couple of issues with the scene cards
There aren't any props to add margins or custom classes to these, however the homeassistant-dashboard
tries to use them. Also seems there is a vertical alignment issue with the icons
This one looks to be line height for if the scene name is too long. I believe the line height is whats causing issues with the vertical alignment too
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.