make ssrstate public
This commit is contained in:
1 parent
d637ef187c
commit
a4ed9bc0ef
1 file changed
+2
-1
@@ -164,7 +164,8 @@ pub struct SSRState {
|
||||
}
|
||||
|
||||
impl SSRState {
|
||||
pub(crate) fn new<P: Clone>(cfg: &ServeConfig<P>) -> Self {
|
||||
/// Create a new [`SSRState`].
|
||||
pub fn new<P: Clone>(cfg: &ServeConfig<P>) -> Self {
|
||||
if cfg.incremental.is_some() {
|
||||
return Self {
|
||||
renderers: Arc::new(SsrRendererPool::Incremental(RwLock::new(vec![
|
||||
|
||||
Reference in new issue
Block a user