Comments (6)
I've fixed it with #73, check, please. You can reopen this issue again if your problem still exists.
from yew.
It's possible but I tried to avoid changing the tag's name, because I can't change type (tag) of the node in the DOM tree, I can replace it to the new only. Virtual node keeps the reference to the DOM's node and I'll have to add some workaround to replace the node there.
Could you describe the case where you need this feature (or send the prospective code example). Maybe I already have a solution.
from yew.
In the Markdown renderer I wrote (see #60), I change td
's to th
's after getting a End(TableHead)
event; doing it that way's a minor kludge, but then I don't need to maintain a stack of "table state info" (header or body, column number, etc.).
from yew.
Well... I've forgotten to fix this: https://github.com/DenisKolodin/yew/blob/4a399af0c701cd7f6a51332d3c2b03126e0db455/src/virtual_dom/vtag.rs#L207
I will do it right now! Thank you! 👍
from yew.
Forgive me if I'm wrong, but the tag
field is still private.
from yew.
@remexre I made it public in #80 (you can test with that branch). Also I will try to test your repository to find a good solution for your case.
from yew.
Related Issues (20)
- Context with Rc<Refcell<T>> reducer type has unexpected behavior HOT 1
- Why not provide some Form components? HOT 1
- SSR + hydration results in a stalled request
- I am unable to build even the simplest Yew applications using Rust 1.76 and running under macOS 14.3 HOT 1
- Blob download encoding
- `VRaw` namespace support for `svg` contents.
- Issue with change detection? HOT 4
- Port issue HOT 1
- implicit_clone does not play nice with indexmap 2.26 HOT 4
- the trait bound `implicit_clone::unsync::IMap<_, _>: From<indexmap::IndexMap<K, V>>` is not satisfied HOT 13
- Tutorial error about fetching data HOT 1
- i can't run Build a sample app,help me pls HOT 1
- SVG issue with lineargradient. HOT 2
- Individual item render order is reversed HOT 1
- Build fail for WebAssembly on Windows with wasm-pack
- Interaction of use_state with <form> tag HOT 3
- Get start error following the documentation HOT 3
- ssr_router example panics HOT 1
- Following manuel and automatic getting started setups trow error HOT 1
- Element.query_selector_all returns NodeList that does not respect custom data attributes. on version 0.20 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yew.