raitobezarius / autobahnreact Goto Github PK
View Code? Open in Web Editor NEWMake realtime a breeze with React.
License: GNU General Public License v2.0
Make realtime a breeze with React.
License: GNU General Public License v2.0
ES2015 imports don't seem to be (properly) supported, if they ever were. When I require the library like this:
const Autobahn = require('[your path to node_modules]/autobahn-react/dist/AutobahnReact.js');
it works, but when I do it with a proper ES2015 import, I'm getting this rather obscure error:
./node_modules/bindings/bindings.js
81:22-40 Critical dependency: the request of a dependency is an expression
./node_modules/bindings/bindings.js
81:43-53 Critical dependency: the request of a dependency is an expression
Needless to say, I'd like to be able to use proper ES2015 imports.
Since the last change was two years ago and issues don't seem to be taken seriously either, I reckon this library isn't actively maintained anymore, even though it's still relevant.
Does anybody know a good alternative?
Is it necessary to correct language mistakes?
Like so-known instead of well-known.
i'm getting error when trying to import the module,
ERROR in /Users/geohu/~/autobahn-react/~/autobahn/lib/autobahn.js
Module not found: Error: Cannot resolve module 'json' in /Users/geohu/node_modules/autobahn-react/node_modules/autobahn/lib
@ /Users/geohu/~/autobahn-react/~/autobahn/lib/autobahn.js 17:12-38
ERROR in /Users/geohu/~/autobahn-react/~/autobahn/~/ws/lib/WebSocketServer.js
Module not found: Error: Cannot resolve module 'tls' in /Users/geohu/node_modules/autobahn-react/node_modules/autobahn/node_modules/ws/lib
@ /Users/geohu/~/autobahn-react/~/autobahn/~/ws/lib/WebSocketServer.js 15:10-24
ERROR in /Users/geohu/~/autobahn-react/~/autobahn/~/ws/~/options/lib/options.js
Module not found: Error: Cannot resolve module 'fs' in /Users/geohu/node_modules/autobahn-react/node_modules/autobahn/node_modules/ws/node_modules/options/lib
@ /Users/geohu/~/autobahn-react/~/autobahn/~/ws/~/options/lib/options.js 6:9-22
Can you add the docs please.
Thanks
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.