Can i use it with just node.js?
See original GitHub issueWhen i try use it as core of my app
const { app } = require('hyperapp') console.log(app({}))
i got error: ReferenceError: document is not defined
.
Can i use it with nodejs?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Why the Hell Would I Use Node.js? A Case-by-case Tutorial
Because Node. js is single-threaded, we use it primarily for non-blocking, event-driven servers. We can also use Node. js for traditional websites and...
Read more >Can we use Node.js as a backend while developing an app?
However, most backend solutions require a database of some form or another. So yes, you can use it .
Read more >What Is Node.js and Why You Should Use It
Node.js is a highly-scalable event-driven JavaScript environment. In this article, learn more about Node.js, its architecture, how to use it, and more.
Read more >Why and When to Use Node.js in 2021 [Complete Guide]
While there are quite a number of use cases that Node.js fits perfectly, there are situations when you should look for other platforms,...
Read more >Do I use Node.js to build a whole website? - Stack Overflow
Yes, you create the whole web server in node.js and use it to serve all your web pages. Typically one might use a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Neither a state or a view is strictly necessary, so it should work (or fail for a different reason! 😄).
Thanks @quko8 & @zaceno. I think the question has been answered.
In short: No, you can’t use the
hyperapp
module on the server without jsdom, etc. This might be possible in the future or be done via hyperapp/server though.