王子凌

Results 4 comments of 王子凌

到现在还没看完。作为一个纯前端er,相当吃力。 希望大佬再接再厉。写出更好的书。:)

> 2.redux-saga写一个hellosaga 跟redux-thunk,redux-saga是控制执行的generator 这儿应该是 `跟 redux-thunk 不同的是,` 吧。 顺便,感谢 blog 的帮助-.-

Hmmm... I meet this issue as well... Sailfish version: `sailfish = "0.8.3"` Rust version: `1.74.0 (79e9716c9 2023-11-13)` Refer to the example [simple.rs](https://github.com/rust-sailfish/sailfish/blob/2e392994830084874b2695bf7953f245752d7d44/examples/simple.rs), and the [simple.stpl](https://github.com/rust-sailfish/sailfish/blob/2e392994830084874b2695bf7953f245752d7d44/examples/templates/simple.stpl). Origin: ```rust use sailfish::TemplateOnce; #[derive(TemplateOnce)]...

I have used the `proc_macro_attribute` to addsome new fields to a struct which has derived `TemplateOnce`. Instead of using `decl_macro` implementation. It works. But lack of flexibility just yet. ![image](https://github.com/rust-sailfish/sailfish/assets/24818903/1df99bc2-2320-4137-a0ff-2fdfdd573f47)...