Comments (6)
@trusktr I patched up my old TodoMVC implementation and posted it up here. Let me know if you have any questions.
from surplus.
Thanks for taking a look!
Yeah, docs and examples are almost non-existent right now. There's a minimalist todo list app at the bottom of the S.js page.
I have several test apps I've written to develop and test the API, including the standard TodoMVC. I'll try and get that posted soon, as well as better docs.
from surplus.
Awesome! I'd be curious to see how you'd write that small Todo example with surplus.
from surplus.
@trusktr I am working a todomvc example on webpack and typescript environment for learning surplus and s.js. I will share it when I'm done.
from surplus.
@ismail-codar I just started brushing up my own TodoMVC app. If you get stuck with the limited docs available right now, let me know and I'll try to unstick you.
Since you mentioned webpack, I wrote a loader for it, available on npm as surplus-loader. Here's an example webpack.config.js that uses it and typescript:
'use strict';
module.exports = {
entry: './src/main.ts',
output: {
filename: './dist/main.js'
},
resolve: {
extensions: ['.ts', '.tsx', '.js']
},
module: {
rules: [
{ test: /\.tsx?$/, loader: 'surplus-loader!ts-loader' },
]
}
};
from surplus.
Hi @adamhaile We do the same thing at the same time :) There are 3 or 4 issue with surplus-preprocessor. But currently can be roamed around. I will post pull requests or open issues later time.
I can work surplus-loader with webpack 2. My settings like this:
rules: [
{ test: /\.tsx?$/, use: ['awesome-typescript-loader', 'surplus-loader'] }
]
from surplus.
Related Issues (20)
- Cannot set style attribute by string HOT 2
- input's "list" attribute HOT 1
- template tag function? HOT 13
- SArray.slice() versus slicing the update value HOT 1
- Fragments? HOT 7
- add and enable Travis CI
- Getting a circular dependency warning with Rollup HOT 5
- Emoijs aren't encoded correctly HOT 4
- Question: Surplus + TypeScript - debugging experience (issue with source maps?) HOT 5
- Not compatible with S.subclock HOT 2
- Basics of Surplus Array rendering HOT 5
- `transform` CSS property not working HOT 1
- Proposal for attribute+signal shorthand HOT 14
- Attribute spread and fn don't work HOT 3
- Compiler chokes on regular expression literal HOT 3
- svg xlink support? HOT 2
- Missing support for dynamic/string-based tags HOT 3
- Support for arrays in className HOT 4
- reconcileArrays fails on parent.insertBefore
- Rewriting default examples to avoid the error "computations created without a root or parent will never be disposed"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surplus.