sorixelle / scalajs-hyperapp Goto Github PK
View Code? Open in Web Editor NEWScala.js facade for Hyperapp
License: BSD 3-Clause "New" or "Revised" License
Scala.js facade for Hyperapp
License: BSD 3-Clause "New" or "Revised" License
OSSRH request approved, currently waiting on #4 to get deployed.
This is a massive bodge. It creates an object in global scope, solely for the purpose of preserving type information of action objects. I wrote this before I noticed there was a difference between the action object the user creates and the one that Hyperapp provides to views, lazy components, async actions, etc. Since the wired object has a much simpler shape that doesn't require generics to represent properly (ie. wired action is always FunctionN => State
, whereas user-created object has functions with varying return types), it should be possible to do away with this object completely.
After #5, update the README with instructions on how to add scalajs-hyperapp to a project.
Action functions are currently of type Function1
, however they should be able to accept any number of arguments. Scala doesn't really have a FunctionN
type, so possibly look at accepting varargs functions and converting to the correct JS type somehow?
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.