Show HN: SingUI – compose modern front end with pure vanilla JavaScript
1–10 of 15 posts
Re: Show HN: SingUI – compose modern front end with pure vanilla JavaScript
#2Re: Show HN: SingUI – compose modern front end with pure vanilla JavaScript
#3I'm sure this is a great framework, but I thought "vanilla JavaScript" meant just writing everything from scratch and not using a framework. Have I misunderstood what this term means?
Re: Show HN: SingUI – compose modern front end with pure vanilla JavaScript
#4Re: Show HN: SingUI – compose modern front end with pure vanilla JavaScript
#5Re: Show HN: SingUI – compose modern front end with pure vanilla JavaScript
#6How is this different from hyperscript or mithril?
The overall code composition is quite different if you take a closer look.
Re: Show HN: SingUI – compose modern front end with pure vanilla JavaScript
#7I'm sure this is a great framework, but I thought "vanilla JavaScript" meant just writing everything from scratch and not using a framework. Have I misunderstood what this term means?
Sorry for mistaken "vanilla" for different meanings...
Re: Show HN: SingUI – compose modern front end with pure vanilla JavaScript
#8So I read through the example, and I do get it, but I'm not a fan, but I also think you put a lot of thought into this in general.
If you want adoption, I think you need to focus on at least two things:
- Testing (part 1). Your library doesn't have tests, and was only pushed about 9 hours ago from the time of this comment. Developers don't have any way to trust that the library works the way they think it should.
- Testing (part 2). There is no obvious way to test code written with your library/framework. Developers won't be able to verify if their code is doing what they expect. I suspect you could have build return faked methods, but then how do you tell the build function that it should be in test mode?
Re: Show HN: SingUI – compose modern front end with pure vanilla JavaScript
#9There are frameworks that already exist that don't require compiling, like hyperapp (but others, too). Even React can be written without compiling - you don't _have_ to use JSX or advanced babel. So I read through the example, and I do get it, but I'm not a fan, but I also think you put a lot of thought into this in general. If you want adoption, I think you need to focus on at least two things: - Testing (part 1). Y…
2. Hyperapp actually does have some sort of compiling (at least parsing a string for a tag)
3. There're far more advanced usages that you may not aware of, so build function has no need to care about whether it's in test mode. More usage demos may come later.
4. I'm actually not a fan of writing redundant tests. IMO tests are more of a psychological comfort for users to see rather than a practical proof of robustness. Though it could gaurantee some sort of correctness, it won't cover how users want to use it. It's a waste of time to write a whole bunch of tests and run them every now and then.
5. I don't want to make this project "heavy", and I hate "heavy" projects.
Re: Show HN: SingUI – compose modern front end with pure vanilla JavaScript
#10> Please enable 3rd party cookies or add an exception for stackblitz.io to resolve.
You know, I don't think I will.