GithubHelp home page GithubHelp logo

laminar-examples's Introduction

Laminar Examples & TodoList Mini-App

This repo contains some very basic components using my Laminar reactive UI library for Scala.js.

A few things to keep in mind:

  • Everything in this repo is half-baked, so far I didn't have any time for polishing things up
  • Nothing is consistent in terms of style. I am deliberately showcasing various Laminar features and patterns instead of using the same pattern over and over
  • Some things are rather contrived for the purpose of showing the harder way of doing things

So in short, this is NOT a demonstration of how to write great Laminar app, it is merely a bunch of Laminar code that compiles and that you can easily work with to try out Laminar features and ideas.

How to run:

  1. git clone this repo to your local machine
  2. open sbt, type ~fastOptJS::webpack
  3. open index-fastopt.html file in your browser
  4. open browser console to monitor for messages and errors

Now you have App.scala running in your browser, and any code changes you make will show up on screen after they get incrementally recompiled (see your sbt shell) and after you reload the page in the browser. Sorry, i don't have much time to spend on this, so there's no Hot / Live Reload or anything like that.

Author

Nikita Gazarov โ€“ raquo.com

License

Laminar Examples are provided under the MIT license.

laminar-examples's People

Contributors

raquo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.