Slight tweak to how gets created on demand. We use an now, for mutability/immutability needs in the reconciliation process. Not sure offhand how much the double lock of will affect things, but that's a problem for later.
This commit is contained in:
parent
4bf89f5d91
commit
c7ef19a943
8 changed files with 53 additions and 43 deletions
|
|
@ -1,9 +1,11 @@
|
|||
//! Implements a Props struct that mostly acts as expected. For arbitrary primitive values,
|
||||
//! it shadows a `serde_json::Value`.
|
||||
|
||||
use std::sync::{Arc, RwLock};
|
||||
use serde_json::Value;
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::traits::{Component};
|
||||
use crate::rsx::{RSX, StylesList};
|
||||
|
||||
/// A value stored inside the `attributes` field on a `Props` instance.
|
||||
|
|
|
|||
Reference in a new issue