aaronerhardt / aaronerhardt.github.io Goto Github PK
View Code? Open in Web Editor NEWMy personal blog
Home Page: https://aaronerhardt.github.io
My personal blog
Home Page: https://aaronerhardt.github.io
In the complete example the main
function is missing: https://aaronerhardt.github.io/relm4-book/book/reusable_components.html
It would be great if all examples could be executed by copy paste.
For the tracker example
https://aaronerhardt.github.io/relm4-book/book/tracker.html#example
ihmo we should tell the user to add tracker = "0.1"
to Cargo.toml
What do you think?
You are writing that the struct is automatically generated:
https://aaronerhardt.github.io/relm4-book/book/widget_macro.html#whats-different
How will it look like? Can one define the names? How can one access it? Maybe I have missed this part.
Here I find a chapter about manual-view
:
https://github.com/AaronErhardt/AaronErhardt.github.io/blob/book/src/widget_macro_reference.md#manual-view
Is this still correct?
When I tried it, I get the error:
Expected identifier `pre_init`, `post_init`, `pre_connect_parent`, `post_connect_parent`, `pre_view` or `post_view`.rust-analyzer[macro-error](https://rust-analyzer.github.io/manual.html#macro-error)
I believe the generate
function in the Factories
is actually a init_view
function so the section needs a fix.
https://aaronerhardt.github.io/relm4-book/book/factory.html#the-generate-function
imho this chapter could be improved:
https://aaronerhardt.github.io/relm4-book/book/factory.html#the-position-function
When I read it, I still feel, like I don't have grasped what the index it.
Would it make sense to beef up the example a little bit?
What about having for the widget a box with a label (eg initial value) and then the button with the current value? Not sure if this helps, ๐
Or a link to a more complex example.
Imho it would be great to point here to an example with weak pointers: https://aaronerhardt.github.io/relm4-book/book/factory_advanced.html#the-message-type or give a hint how it's been done.
A short explanation (or link to documentation) what DynamicIndex is would be great.
in this chapter https://aaronerhardt.github.io/relm4-book/book/factory.html
I would find it valuable if you could give an overview of other exiting factories than FactoryVec and their properties (link to their documentation)
As people seem to like a visual imression of the programs to be built, what do you think about adding some to the book? (I can help)
I'd suggest to put the rendered book folder to .gitignore
. Otherwise you'll just blow up your repo.
One sentence to explain a different queue might be good:
https://aaronerhardt.github.io/relm4-book/book/message_handler.html#the-includes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.