Echo JS 0.11.0

<~>

tracker1 comments

tracker1 1339 days ago. link 1 point
Do *NOT* use a css file for this... use makeStyles and put it in/with your component.

    const useStyles = makeStyles((theme) => ({
      moreLinks: {
        width: '100%',
        borderRadius: 30,
        fontWeight: '700',
        justifyContent: 'unset',
        fontSize: 20,
        marginRight: 20,
        textTransform: 'inherit',
        color: 'black',
        height: 60,
        paddingLeft: 10,
        paddingRight: 30,
        marginBottom: 5,
        '& .MuiSvgIcon-root': {
          marginRight: 10,
        },
        '&:hover': {
          // ...
        }
        // ...
      }
    }));

    // inside component
      const classes = useStyles
      // ... passdown className to child render
      <SidebarLink className={classes.moreLinks} text="More" Icon={MoreHorizIcon} />
tracker1 1341 days ago. link 1 point
Note this is mixed GPLv3 and commercial licensed... it may be inappropriate for your project depending on use/license.
tracker1 1351 days ago. link 1 point
Cool... should try to get this into the firefox, google and edge stores to make it a little easier to run, and make sure to link to those extensions.
tracker1 1351 days ago. link 2 points
For a fast build experience, consider esbuild + nodemon.  I haven't played with vite specifically, but have with Rollup, and still quite a bit slower than esbuild, if I'm looking for something beyond webpack/rollup or parcel as a wrapper.

The only other complaint(s) I have about this are the typical organized by type, not need/feature/problem and no testing pattern/framework in place.
tracker1 1352 days ago. link 1 point
Looks cool... At this point, would probably be more interested in something similar written against Deno, considering the in the box tooling around TypeScript which includes JSX transforms and a potentially smaller developer footprint.
tracker1 1352 days ago. link 2 points
Very cool... kind of wish there were more comments/documentation on the JS file itself.
tracker1 1357 days ago. link 1 point
I feel like Java is a step backwards in a lot of ways on this.

Thinking of playing with web-view[1] and Deno to see if I can get them co-mingled somehow... Then creating some sort of transparent host/communication layer between UI and backend. Then get something that can be compiled to a single platform executable... Linux deps get interesting, so a good story for flatpack/flathub, appimage and snap would be a followup.  No ideas yet on iOS or Android.

1. https://github.com/Boscop/web-view
tracker1 1358 days ago. link 1 point
Really like the date picker... only critique would be the usability on mobile.  Reminds my of the MS Ajax Toolkit date picker, which is the only thing in that toolkit I really liked.  The month/year navigation is perfect imo.
[more]