Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/websharper-samples/TodoMVC

A TodoMVC application for WebSharper
https://github.com/websharper-samples/TodoMVC

Last synced: about 2 months ago
JSON representation

A TodoMVC application for WebSharper

Awesome Lists containing this project

README

        

# WebSharper UI.Next TodoMVC Implementation [![Build status](https://ci.appveyor.com/api/projects/status/ynxnd31tj4iesm9o?svg=true)](https://ci.appveyor.com/project/IntelliFactory/samples-todomvc)

An implementation of [TodoMVC](https://www.todomvc.com/) using [WebSharper UI.Next](https://intellifactory.github.io/websharper.ui.next).

See it running live [here.](http://websharper-samples.github.io/TodoMVC/)

# TODO

The implementation does not fully conform to the [TodoMVC app specification](https://github.com/tastejs/todomvc/blob/master/app-spec.md):

https://github.com/tastejs/todomvc/blob/master/app-spec.md

* The routing scheme is slightly different from what is defined in the specs (this would need changes in ui.next itself).
* There is currently no model implementation that is backed by local storage. It may be worth extracting the in-memory array that is used by `ListModel` and provide a way to plug the actual store implementation.
* ~~When the user double-clicks the label of an item `focus()` is not called on the element as it's not possible to get a reference to the right input box within `UI.Next`.~~
* ~~The mark-up is slightly different (differs on 3 parts: +2 spans and +1 div) because of the nature of how our templating works.~~