Commit Graph

9 Commits

Author SHA1 Message Date
towards-a-new-leftypol 107013756b Refactor http example into Client component
- Client will have own Action and Model
    - Model is TODO but needs to hold all of the aborts
      usually a front-end client wants to abort other ongoing requests

- Network.Client will have an update function that uses effectSub to
  create a thread that will inform the app of the results of the xhr
  action. We shouldn't just do this in Main, it gets messy
2024-01-12 18:59:20 -05:00
towards-a-new-leftypol bbc6a69d57 Some basic first attempt at XHR
- There's a lot of wrong here:
- Send function is referenced from the GHCJS.DOM.JSFFI.Generated
  directly, so idk if this compiles to native (it's fine to ignore this
  point though because we only really care about the front-end for XHR)
- There are actions that should be generalized out, probably there
  needs to be a network client component, with an interface to keep
  track of stuff for us accross different actions that trigger http
2024-01-11 18:59:00 -05:00
towards-a-new-leftypol 82d85b834b Compose two components (fake actions, since grid doesn't do anything yet) 2023-12-26 02:53:17 -05:00
towards-a-new-leftypol fcea3f87fe Figure out how to use the router (initial action) 2023-12-25 08:21:56 -05:00
towards-a-new-leftypol d8f3637839 Example sub-component (Catalog Grid) 2023-12-22 06:06:52 -05:00
towards-a-new-leftypol f4fa338b6e Add miso-from-html to shell 2023-12-18 21:14:10 -05:00
towards-a-new-leftypol 088c3f7d90 Hello world 2023-12-14 07:18:25 -05:00
towards-a-new-leftypol 055bc806bc clean up nix scripts - build still working 2023-11-28 06:06:41 -05:00
towards-a-new-leftypol 5cc670fca9 Initial commit - struggle to set up a working environment
- default.nix is the working config (copied from mixo-component-example)
2023-11-28 04:46:39 -05:00