Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The multiple crates thing was weird, this just has two crates, one for ryde and one for the macros.
This also breaks everything, sorry ahead of time:
Before:
After:
Two questions:
It's way simpler for me to maintain and for you to use and make fast web apps fast, hopefully. In my mind I thought oh this built in css and html stuff will make me move faster, but honestly, it didn't, I was working on a cli thing to convert html and tailwind to rust code and I thought, this is dumb, I should just do what leptos does because most of the time we're copy pasting bits of html and tailwind anyway. I honestly learned a new trick with the macros and the tuple syntax and I way, way overused it. Also, I found out about leptos-fmt and that helix automatically does the right thing when you have html inside of an
html!
proc macro which were my two hangs up about html in rust.The css side of it was just too try hard. tailwind is fine, there's so many pre-existing components out there, I might as well stop fighting it and just embrace it.
Yes, at least until v1 (if I ever get there). What I want you to take away from this library is how hypermedia apps in rust could be developed, check the source, get ideas, if you like what I'm doing here, go ahead and use it, but it's just for me. I plan on not making any major changes going forward, I like where the api is now. The only thing I can see happening is maybe around the static files or sql, it would be to great to have autocomplete and treesitter injections for sql.