mirror of
https://github.com/seanhess/hyperbole.git
synced 2024-10-04 00:49:03 +03:00
.. | ||
doc | ||
Example | ||
BulkUpdate.hs | ||
HelloWorld.hs | ||
Main.hs | ||
README.md |
Hyperbole Examples
This directory contains an example application with multiple pages demonstrating different features. To try them out:
- Checkout the repository
- Follow the Local Development instructions
cabal run examples
- visit http://localhost:3000/
Alternatively, create a new project that depends on hyperbole using cabal or stack and copy them in to your source folder
Main
Routing, WAI application, running the program
Simple
Multiple HyperViews, Actions
Counter
Basics, State with a TVar
CSS Transitions
Animate transitions using only CSS
Forms
Elegant interface for Forms including field-specific validation
Sessions
store data on the client with a session
Redirects
Redirecting to other pages. See Main as well
Lazy Loading and Polling
Run an action after a delay for lazy loading or polling. See Main as well
Errors
Render server errors
Contacts (Advanced)
Custom data effects, multiple views, targeting other views, loading indicators