Martin Kavík

Results 228 comments of Martin Kavík

I've just tested the code: ```rust Frontend::new() .index_by_robots(not(matches!(std::option_env!("NOINDEX"), Some("1")))) ``` with the command ``` NOINDEX=1 makers mzoon start ``` and it seems to work without problem so I would recommend...

What do you mean by unexpected behavior? Some ideas: 1. Make the global nearby element container `LayerIndex` `Mutable` (e.g. `#[static_ref] fn nearby_element_container_layer_index() -> &'static Mutable` or something similar), 2. Dynamically...

I'm not sure if it's directly related to SSR or webserver frameworks. I just want to start Trunk's dev server and generate HTML files automatically through a browser. In the...

Tip: Look at https://cynic-rs.dev/quickstart.html - [cynic](https://github.com/obmarg/cynic)'s author uses [insta](https://crates.io/crates/insta) for snapshot testing.

> Have you used cynic per chance? See https://seed-rs.org/0.7.0/time_tracker_graphql. I'm waiting for `cynic`'s mutations support (it's WIP, maybe it's already in `master`) to continue with the tutorial.

Another use case from a real-world app: Creating a `config` object for the Youtube JS library currently looks like this: ```rust let events = js_sys::Object::new(); Reflect::set(&events, &"onReady".into(), on_ready.as_ref()).unwrap(); let config...

Scoped CSS - @rebo will release alpha version of CSS/Less/SASS library for Seed: - The most design discussions are on chat - write him on `#devel` or `#support` channel if...

> I would strongly advocate against any "Magic" that breaks IDEs. We tries to take into account all possible problems during API / logic designing - see e.g. [this comment](https://github.com/seed-rs/seed/issues/312#issuecomment-565714770)...

So about live reload. It can either reload the whole page or patch the code live. The best thing ever I used for live reload is Indium. Emacs Javascript Ide....

Perhaps [bonsaidb.io](https://bonsaidb.io/) would be nice to integrate to have a Rust-only stack including the database, PubSub and a file storage. Just a tip.