-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from arthyn/hm/alt-rendering
feature: alt rendering and caching
- Loading branch information
Showing
38 changed files
with
4,122 additions
and
6,802 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,3 @@ | ||
# scratch | ||
|
||
A small app for saving text, similar to pastebin. Also an experimental | ||
testbed for a new supercharged [Sail](https://developers.urbit.org/guides/additional/sail) | ||
framework. | ||
|
||
## thoughts (revised) | ||
We need a way for new Hoon devs to be able to create robust UI without | ||
needing to learn Javascript. "Server rendered" apps are fine for most use | ||
cases. There have even been advances to make many of the drawbacks | ||
non-existent. The main libraries that address this are [Hotwire](https://hotwired.dev/), | ||
[htmx](https://htmx.org/), and [AlpineJS](https://alpinejs.dev/). | ||
|
||
## first stage - complete | ||
- using [twind](https://twind.style/) instead ~~port [TailwindCSS](https://tailwindcss.com/) to Hoon and create a library | ||
that integrates easily with Sail and the new framework~~ | ||
- using [shoelace](https://shoelace.style/) since it's already web components so easy to use in sail ~~begin implementing basic components as "primitives" possibly using | ||
something like [Radix UI](https://www.radix-ui.com/) or hand rolled | ||
with~~ | ||
- built a small gate to work with alpine bindings since they use special chars will pursue more now ~~build gates or Sail hooks of some kind to integrate with one of the | ||
"dynamic" HTML libraries listed above~~ | ||
- done! ~~build first version of the app using the above~~ | ||
|
||
## second stage | ||
- begin wrapping functionality into gates or custom Sail tags and abstracting | ||
functionality into components | ||
- explore common patterns of urbit app interactions and create helpers to | ||
facilitate easier/quicker methods | ||
- test out urbit interface framework being developed here: https://github.com/h5gq3/todos | ||
- rewrite app given new abstractions | ||
|
||
## third stage | ||
- writeup docs for everything generated in the second stage | ||
- create more complex app to show-off what's possible and explore further | ||
necessary abstractions | ||
A small app for saving text, similar to pastebin or github gists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.