Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering F#

You're reading from   Mastering F# A comprehensive and in-depth guide to writing functional programs using F#

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher
ISBN-13 9781784393434
Length 264 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Suhaib Fahad Suhaib Fahad
Author Profile Icon Suhaib Fahad
Suhaib Fahad
Alfonso García-Caro Núñez Alfonso García-Caro Núñez
Author Profile Icon Alfonso García-Caro Núñez
Alfonso García-Caro Núñez
Arrow right icon
View More author details
Toc

npm start


This is another simple example, but thanks to Material UI with very few lines of code, we will have components such as a modal dialog with nice animations. The library contains many more components that you can easily integrate into your app, the same way we have done in the sample. You can find a full list at http://www.material-ui.com/.

Automatic refresh on code changes

One of the reasons web UI development has become so popular and hybrid apps are also taking over mobile and desktop is its development workflow. As neither JavaScript, HTML, nor CSS are compiled languages, the only thing a developer had to do to see changes in their code reflected on screen was to refresh the browser. Now, there are even tools to omit this step so that developers can keep working on their IDEs and see the browser refresh itself. Using F#, we had to add an extra compilation step, but thanks to Fable's --watch option, it is still possible to get very close to this experience.

The way to refresh the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime