react源碼解析10.commit階段

react源碼解析10.commit階段

視頻課程(高效學(xué)習(xí)):進(jìn)入課程

課程目錄:

1.開篇介紹和面試題

2.react的設(shè)計(jì)理念

3.react源碼架構(gòu)

4.源碼目錄結(jié)構(gòu)和調(diào)試

5.jsx&核心api

6.legacy和concurrent模式入口函數(shù)

7.Fiber架構(gòu)

8.render階段

9.diff算法

10.commit階段

11.生命周期

12.狀態(tài)更新流程

13.hooks源碼

14.手寫hooks

15.scheduler&Lane

16.concurrent模式

17.context

18事件系統(tǒng)

19.手寫迷你版react

20.總結(jié)&第一章的面試題解答

21.demo

在render階段的末尾會(huì)調(diào)用commitRoot(root);進(jìn)入commit階段谜慌,這里的root指的就是fiberRoot,然后會(huì)遍歷render階段生成的effectList阅懦,effectList上的Fiber節(jié)點(diǎn)保存著對(duì)應(yīng)的props變化。之后會(huì)遍歷effectList進(jìn)行對(duì)應(yīng)的dom操作和生命周期他爸、hooks回調(diào)或銷毀函數(shù)缩功,各個(gè)函數(shù)做的事情如下

react源碼10.1

在commitRoot函數(shù)中其實(shí)是調(diào)度了commitRootImpl函數(shù)

//ReactFiberWorkLoop.old.js
function commitRoot(root) {
  var renderPriorityLevel = getCurrentPriorityLevel();
  runWithPriority$1(ImmediatePriority$1, commitRootImpl.bind(null, root, renderPriorityLevel));
  return null;
}

在commitRootImpl的函數(shù)中主要分三個(gè)部分:

  • commit階段前置工作

    1. 調(diào)用flushPassiveEffects執(zhí)行完所有effect的任務(wù)

    2. 初始化相關(guān)變量

    3. 賦值firstEffect給后面遍歷effectList用

      //ReactFiberWorkLoop.old.js
      do {
          // 調(diào)用flushPassiveEffects執(zhí)行完所有effect的任務(wù)
          flushPassiveEffects();
        } while (rootWithPendingPassiveEffects !== null);
      
         //...
      
        // 重置變量 finishedWork指rooFiber
        root.finishedWork = null;
         //重置優(yōu)先級(jí)
        root.finishedLanes = NoLanes;
      
        // Scheduler回調(diào)函數(shù)重置
        root.callbackNode = null;
        root.callbackId = NoLanes;
      
        // 重置全局變量
        if (root === workInProgressRoot) {
          workInProgressRoot = null;
          workInProgress = null;
          workInProgressRootRenderLanes = NoLanes;
        } else {
        }
      
         //rootFiber可能會(huì)有新的副作用 將它也加入到effectLis
        let firstEffect;
        if (finishedWork.effectTag > PerformedWork) {
          if (finishedWork.lastEffect !== null) {
            finishedWork.lastEffect.nextEffect = finishedWork;
            firstEffect = finishedWork.firstEffect;
          } else {
            firstEffect = finishedWork;
          }
        } else {
          firstEffect = finishedWork.firstEffect;
        }
      
  • mutation階段

    遍歷effectList分別執(zhí)行三個(gè)方法commitBeforeMutationEffects层扶、commitMutationEffects箫章、commitLayoutEffects執(zhí)行對(duì)應(yīng)的dom操作和生命周期

    在介紹雙緩存Fiber樹的時(shí)候烙荷,我們?cè)跇?gòu)建完workInProgress Fiber樹之后會(huì)將fiberRoot的current指向workInProgress Fiber镜会,讓workInProgress Fiber成為current,這個(gè)步驟發(fā)生在commitMutationEffects函數(shù)執(zhí)行之后终抽,commitLayoutEffects之前戳表,因?yàn)閏omponentWillUnmount發(fā)生在commitMutationEffects函數(shù)中桶至,這時(shí)還可以獲取之前的Update,而componentDidMountcomponentDidUpdate會(huì)在commitLayoutEffects中執(zhí)行匾旭,這時(shí)已經(jīng)可以獲取更新后的真實(shí)dom了

    function commitRootImpl(root, renderPriorityLevel) {
      //...
      do {
          //...
          commitBeforeMutationEffects();
        } while (nextEffect !== null);
      
      do {
          //...
          commitMutationEffects(root, renderPriorityLevel);//commitMutationEffects
        } while (nextEffect !== null);
      
      root.current = finishedWork;//切換current Fiber樹
      
      do {
          //...
          commitLayoutEffects(root, lanes);//commitLayoutEffects
        } while (nextEffect !== null);
      //...
    }
    
  • mutation 后

    1. 根據(jù)rootDoesHavePassiveEffects賦值相關(guān)變量

    2. 執(zhí)行flushSyncCallbackQueue處理componentDidMount等生命周期或者useLayoutEffect等同步任務(wù)

      const rootDidHavePassiveEffects = rootDoesHavePassiveEffects;
      
      // 根據(jù)rootDoesHavePassiveEffects賦值相關(guān)變量
      if (rootDoesHavePassiveEffects) {
        rootDoesHavePassiveEffects = false;
        rootWithPendingPassiveEffects = root;
        pendingPassiveEffectsLanes = lanes;
        pendingPassiveEffectsRenderPriority = renderPriorityLevel;
      } else {}
      //...
      
      // 確保被調(diào)度
      ensureRootIsScheduled(root, now());
      
      // ...
      
      // 執(zhí)行flushSyncCallbackQueue處理componentDidMount等生命周期或者useLayoutEffect等同步任務(wù)
      flushSyncCallbackQueue();
      
      return null;
      

現(xiàn)在讓我們來(lái)看看mutation階段的三個(gè)函數(shù)分別做了什么事情

  • commitBeforeMutationEffects
    該函數(shù)主要做了如下兩件事

    1. 執(zhí)行g(shù)etSnapshotBeforeUpdate
      在源碼中commitBeforeMutationEffectOnFiber對(duì)應(yīng)的函數(shù)是commitBeforeMutationLifeCycles在該函數(shù)中會(huì)調(diào)用getSnapshotBeforeUpdate镣屹,現(xiàn)在我們知道了getSnapshotBeforeUpdate是在mutation階段中的commitBeforeMutationEffect函數(shù)中執(zhí)行的,而commit階段是同步的价涝,所以getSnapshotBeforeUpdate也同步執(zhí)行

      function commitBeforeMutationLifeCycles(
        current: Fiber | null,
        finishedWork: Fiber,
      ): void {
        switch (finishedWork.tag) {
             //...
          case ClassComponent: {
            if const instance = finishedWork.stateNode;
                const snapshot = instance.getSnapshotBeforeUpdate(//getSnapshotBeforeUpdate
                  finishedWork.elementType === finishedWork.type
                    ? prevProps
                    : resolveDefaultProps(finishedWork.type, prevProps),
                  prevState,
                );
              }
      }
      
  1. 調(diào)度useEffect

    在flushPassiveEffects函數(shù)中調(diào)用flushPassiveEffectsImpl遍歷pendingPassiveHookEffectsUnmount和pendingPassiveHookEffectsMount女蜈,執(zhí)行對(duì)應(yīng)的effect回調(diào)和銷毀函數(shù),而這兩個(gè)數(shù)組是在commitLayoutEffects函數(shù)中賦值的(待會(huì)就會(huì)講到)色瘩,mutation后effectList賦值給rootWithPendingPassiveEffects伪窖,然后scheduleCallback調(diào)度執(zhí)行flushPassiveEffects

    function flushPassiveEffectsImpl() {
      if (rootWithPendingPassiveEffects === null) {//在mutation后變成了root
        return false;
      }
      const unmountEffects = pendingPassiveHookEffectsUnmount;
      pendingPassiveHookEffectsUnmount = [];//useEffect的回調(diào)函數(shù)
      for (let i = 0; i < unmountEffects.length; i += 2) {
        const effect = ((unmountEffects[i]: any): HookEffect);
        //...
        const destroy = effect.destroy;
        destroy();
      }
    
      const mountEffects = pendingPassiveHookEffectsMount;//useEffect的銷毀函數(shù)
      pendingPassiveHookEffectsMount = [];
      for (let i = 0; i < mountEffects.length; i += 2) {
        const effect = ((unmountEffects[i]: any): HookEffect);
        //...
        const create = effect.create;
        effect.destroy = create();
      }
    }
    
    
    componentDidUpdate或componentDidMount會(huì)在commit階段同步執(zhí)行(這個(gè)后面會(huì)講到),而useEffect會(huì)在commit階段異步調(diào)度居兆,所以適用于數(shù)據(jù)請(qǐng)求等副作用的處理

 > 注意覆山,和在render階段的fiber node會(huì)打上Placement等標(biāo)簽一樣,useEffect或useLayoutEffect也有對(duì)應(yīng)的effect Tag泥栖,在源碼中對(duì)應(yīng)export const Passive = /*                      */ 0b0000000001000000000;

 ```js
 function commitBeforeMutationEffects() {
   while (nextEffect !== null) {
     const current = nextEffect.alternate;
     const effectTag = nextEffect.effectTag;
 
     // 在commitBeforeMutationEffectOnFiber函數(shù)中會(huì)執(zhí)行g(shù)etSnapshotBeforeUpdate
     if ((effectTag & Snapshot) !== NoEffect) {
       commitBeforeMutationEffectOnFiber(current, nextEffect);
     }
 
     // scheduleCallback調(diào)度useEffect
     if ((effectTag & Passive) !== NoEffect) {
       if (!rootDoesHavePassiveEffects) {
         rootDoesHavePassiveEffects = true;
         scheduleCallback(NormalSchedulerPriority, () => {
           flushPassiveEffects();
           return null;
         });
       }
     }
     nextEffect = nextEffect.nextEffect;//遍歷effectList
   }
 }
 
 ```
  • commitMutationEffects
    commitMutationEffects主要做了如下幾件事

    1. 調(diào)用commitDetachRef解綁ref(第11章hook會(huì)講解)

    2. 根據(jù)effectTag執(zhí)行對(duì)應(yīng)的dom操作

    3. useLayoutEffect銷毀函數(shù)在UpdateTag時(shí)執(zhí)行

      function commitMutationEffects(root: FiberRoot, renderPriorityLevel) {
        //遍歷effectList
        while (nextEffect !== null) {
      
          const effectTag = nextEffect.effectTag;
          // 調(diào)用commitDetachRef解綁ref
          if (effectTag & Ref) {
            const current = nextEffect.alternate;
            if (current !== null) {
              commitDetachRef(current);
            }
          }
      
          // 根據(jù)effectTag執(zhí)行對(duì)應(yīng)的dom操作
          const primaryEffectTag =
            effectTag & (Placement | Update | Deletion | Hydrating);
          switch (primaryEffectTag) {
            // 插入dom
            case Placement: {
              commitPlacement(nextEffect);
              nextEffect.effectTag &= ~Placement;
              break;
            }
            // 插入更新dom
            case PlacementAndUpdate: {
              // 插入
              commitPlacement(nextEffect);
              nextEffect.effectTag &= ~Placement;
              // 更新
              const current = nextEffect.alternate;
              commitWork(current, nextEffect);
              break;
            }
             //...
            // 更新dom
            case Update: {
              const current = nextEffect.alternate;
              commitWork(current, nextEffect);
              break;
            }
            // 刪除dom
            case Deletion: {
              commitDeletion(root, nextEffect, renderPriorityLevel);
              break;
            }
          }
      
          nextEffect = nextEffect.nextEffect;
        }
      }
      
 現(xiàn)在讓我們來(lái)看看操作dom的這幾個(gè)函數(shù)

 **commitPlacement插入節(jié)點(diǎn):**

    簡(jiǎn)化后的代碼很清晰簇宽,找到該節(jié)點(diǎn)最近的parent節(jié)點(diǎn)和兄弟節(jié)點(diǎn),然后根據(jù)isContainer來(lái)判斷是插入到兄弟節(jié)點(diǎn)前還是append到parent節(jié)點(diǎn)后

 ```js
 unction commitPlacement(finishedWork: Fiber): void {
    //...
   const parentFiber = getHostParentFiber(finishedWork);//找到最近的parent
 
   let parent;
   let isContainer;
   const parentStateNode = parentFiber.stateNode;
   switch (parentFiber.tag) {
     case HostComponent:
       parent = parentStateNode;
       isContainer = false;
       break;
     //...
 
   }
   const before = getHostSibling(finishedWork);//找兄弟節(jié)點(diǎn)
   if (isContainer) {
     insertOrAppendPlacementNodeIntoContainer(finishedWork, before, parent);
   } else {
     insertOrAppendPlacementNode(finishedWork, before, parent);
   }
 }
 ```

 

 **commitWork更新節(jié)點(diǎn):**

    在簡(jiǎn)化后的源碼中可以看到

        如果fiber的tag是SimpleMemoComponent會(huì)調(diào)用commitHookEffectListUnmount執(zhí)行對(duì)應(yīng)的hook的銷毀函數(shù)吧享,可以看到傳入的參數(shù)是HookLayout | HookHasEffect魏割,也就是說(shuō)執(zhí)行useLayoutEffect的銷毀函數(shù)。

        如果是HostComponent耙蔑,那么調(diào)用commitUpdate见妒,commitUpdate最后會(huì)調(diào)用updateDOMProperties處理對(duì)應(yīng)Update的dom操作

 

 ```js
 function commitWork(current: Fiber | null, finishedWork: Fiber): void {
   if (!supportsMutation) {
     switch (finishedWork.tag) {
        //...
       case SimpleMemoComponent: {
            commitHookEffectListUnmount(HookLayout | HookHasEffect, finishedWork);
       }
      //...
     }
   }
 
   switch (finishedWork.tag) {
     //...
     case HostComponent: {
       //...
       commitUpdate(
             instance,
             updatePayload,
             type,
             oldProps,
             newProps,
             finishedWork,
           );
       }
       return;
     }
 }
 ```

 

 

 ```js
 function updateDOMProperties(
   domElement: Element,
   updatePayload: Array<any>,
   wasCustomComponentTag: boolean,
   isCustomComponentTag: boolean,
 ): void {
   // TODO: Handle wasCustomComponentTag
   for (let i = 0; i < updatePayload.length; i += 2) {
     const propKey = updatePayload[i];
     const propValue = updatePayload[i + 1];
     if (propKey === STYLE) {
       setValueForStyles(domElement, propValue);
     } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
       setInnerHTML(domElement, propValue);
     } else if (propKey === CHILDREN) {
       setTextContent(domElement, propValue);
     } else {
       setValueForProperty(domElement, propKey, propValue, isCustomComponentTag);
     }
   }
 }
 
 
 ```

 

 **commitDeletion刪除節(jié)點(diǎn):**
    如果是ClassComponent會(huì)執(zhí)行componentWillUnmount,刪除fiber甸陌,如果是FunctionComponent 會(huì)刪除ref滓走、并執(zhí)行useEffect的銷毀函數(shù),具體可在源碼中查看unmountHostComponents译株、commitNestedUnmounts吉执、detachFiberMutation這幾個(gè)函數(shù)

 ```js
 function commitDeletion(
   finishedRoot: FiberRoot,
   current: Fiber,
   renderPriorityLevel: ReactPriorityLevel,
 ): void {
   if (supportsMutation) {
     // Recursively delete all host nodes from the parent.
     // Detach refs and call componentWillUnmount() on the whole subtree.
     unmountHostComponents(finishedRoot, current, renderPriorityLevel);
   } else {
     // Detach refs and call componentWillUnmount() on the whole subtree.
     commitNestedUnmounts(finishedRoot, current, renderPriorityLevel);
   }
   const alternate = current.alternate;
   detachFiberMutation(current);
   if (alternate !== null) {
     detachFiberMutation(alternate);
   }
 }
 
 ```
  • commitLayoutEffects
    在commitMutationEffects之后所有的dom操作都已經(jīng)完成,可以訪問(wèn)dom了牲尺,commitLayoutEffects主要做了

    1. 調(diào)用commitLayoutEffectOnFiber執(zhí)行相關(guān)生命周期函數(shù)或者h(yuǎn)ook相關(guān)callback

    2. 執(zhí)行commitAttachRef為ref賦值

 ```js
 function commitLayoutEffects(root: FiberRoot, committedLanes: Lanes) {
   while (nextEffect !== null) {
     const effectTag = nextEffect.effectTag;
 
     // 調(diào)用commitLayoutEffectOnFiber執(zhí)行生命周期和hook
     if (effectTag & (Update | Callback)) {
       const current = nextEffect.alternate;
       commitLayoutEffectOnFiber(root, current, nextEffect, committedLanes);
     }
 
     // ref賦值
     if (effectTag & Ref) {
       commitAttachRef(nextEffect);
     }
 
     nextEffect = nextEffect.nextEffect;
   }
 }
 ```

 

 **commitLayoutEffectOnFiber:**

    在源碼中commitLayoutEffectOnFiber函數(shù)的別名是commitLifeCycles卵酪,在簡(jiǎn)化后的代碼中可以看到,commitLifeCycles會(huì)判斷fiber的類型谤碳,SimpleMemoComponent會(huì)執(zhí)行useLayoutEffect的回調(diào)溃卡,然后調(diào)度useEffect,ClassComponent會(huì)執(zhí)行componentDidMount或者componentDidUpdate蜒简,this.setState第二個(gè)參數(shù)也會(huì)執(zhí)行瘸羡,HostRoot會(huì)執(zhí)行ReactDOM.render函數(shù)的第三個(gè)參數(shù),例如

 

 ```js
 ReactDOM.render(<App />, document.querySelector("#root"), function() {
   console.log("root mount");
 });
 ```

 

 現(xiàn)在可以知道useLayoutEffect是在commit階段同步執(zhí)行搓茬,useEffect會(huì)在commit階段異步調(diào)度

 

 ```js
 function commitLifeCycles(
   finishedRoot: FiberRoot,
   current: Fiber | null,
   finishedWork: Fiber,
   committedLanes: Lanes,
 ): void {
   switch (finishedWork.tag) {
     case SimpleMemoComponent: {
       // 此函數(shù)會(huì)調(diào)用useLayoutEffect的回調(diào)
       commitHookEffectListMount(HookLayout | HookHasEffect, finishedWork);
       // 向pendingPassiveHookEffectsUnmount和pendingPassiveHookEffectsMount中push effect                      // 并且調(diào)度它們
       schedulePassiveEffects(finishedWork);
     }
     case ClassComponent: {
       //條件判斷...
       instance.componentDidMount();
       //條件判斷...
       instance.componentDidUpdate(//update 在layout期間同步執(zhí)行
         prevProps,
         prevState,
         instance.__reactInternalSnapshotBeforeUpdate,
       );      
     }
 
      
     case HostRoot: {
       commitUpdateQueue(finishedWork, updateQueue, instance);//render第三個(gè)參數(shù)
     }
     
   }
 }
 ```

 

    在schedulePassiveEffects中會(huì)將useEffect的銷毀和回調(diào)函數(shù)push到pendingPassiveHookEffectsUnmount和pendingPassiveHookEffectsMount中

 

 ```js
 function schedulePassiveEffects(finishedWork: Fiber) {
   const updateQueue: FunctionComponentUpdateQueue | null = (finishedWork.updateQueue: any);
   const lastEffect = updateQueue !== null ? updateQueue.lastEffect : null;
   if (lastEffect !== null) {
     const firstEffect = lastEffect.next;
     let effect = firstEffect;
     do {
       const {next, tag} = effect;
       if (
         (tag & HookPassive) !== NoHookEffect &&
         (tag & HookHasEffect) !== NoHookEffect
       ) {
         //push useEffect的銷毀函數(shù)并且加入調(diào)度
         enqueuePendingPassiveHookEffectUnmount(finishedWork, effect);
         //push useEffect的回調(diào)函數(shù)并且加入調(diào)度
         enqueuePendingPassiveHookEffectMount(finishedWork, effect);
       }
       effect = next;
     } while (effect !== firstEffect);
   }
 }
 ```

 

 **commitAttachRef:**

    commitAttacRef中會(huì)判斷ref的類型犹赖,執(zhí)行ref或者給ref.current賦值

 

 

 ```js
 function commitAttachRef(finishedWork: Fiber) {
   const ref = finishedWork.ref;
   if (ref !== null) {
     const instance = finishedWork.stateNode;
 
     let instanceToUse;
     switch (finishedWork.tag) {
       case HostComponent:
         instanceToUse = getPublicInstance(instance);
         break;
       default:
         instanceToUse = instance;
     }
 
     if (typeof ref === "function") {
       // 執(zhí)行ref回調(diào)
       ref(instanceToUse);
     } else {
       // 如果是值的類型則賦值給ref.current
       ref.current = instanceToUse;
     }
   }
 }
 ```
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末队他,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子峻村,更是在濱河造成了極大的恐慌麸折,老刑警劉巖,帶你破解...
    沈念sama閱讀 219,110評(píng)論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件粘昨,死亡現(xiàn)場(chǎng)離奇詭異垢啼,居然都是意外死亡,警方通過(guò)查閱死者的電腦和手機(jī)张肾,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,443評(píng)論 3 395
  • 文/潘曉璐 我一進(jìn)店門膊夹,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái),“玉大人捌浩,你說(shuō)我怎么就攤上這事放刨。” “怎么了尸饺?”我有些...
    開封第一講書人閱讀 165,474評(píng)論 0 356
  • 文/不壞的土叔 我叫張陵进统,是天一觀的道長(zhǎng)。 經(jīng)常有香客問(wèn)我浪听,道長(zhǎng)螟碎,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,881評(píng)論 1 295
  • 正文 為了忘掉前任迹栓,我火速辦了婚禮掉分,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘克伊。我一直安慰自己酥郭,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,902評(píng)論 6 392
  • 文/花漫 我一把揭開白布愿吹。 她就那樣靜靜地躺著不从,像睡著了一般。 火紅的嫁衣襯著肌膚如雪犁跪。 梳的紋絲不亂的頭發(fā)上椿息,一...
    開封第一講書人閱讀 51,698評(píng)論 1 305
  • 那天,我揣著相機(jī)與錄音坷衍,去河邊找鬼寝优。 笑死,一個(gè)胖子當(dāng)著我的面吹牛枫耳,可吹牛的內(nèi)容都是我干的乏矾。 我是一名探鬼主播,決...
    沈念sama閱讀 40,418評(píng)論 3 419
  • 文/蒼蘭香墨 我猛地睜開眼,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼妻熊!你這毒婦竟也來(lái)了?” 一聲冷哼從身側(cè)響起仑最,我...
    開封第一講書人閱讀 39,332評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤扔役,失蹤者是張志新(化名)和其女友劉穎,沒(méi)想到半個(gè)月后警医,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體亿胸,經(jīng)...
    沈念sama閱讀 45,796評(píng)論 1 316
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,968評(píng)論 3 337
  • 正文 我和宋清朗相戀三年预皇,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了侈玄。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 40,110評(píng)論 1 351
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡吟温,死狀恐怖序仙,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情鲁豪,我是刑警寧澤潘悼,帶...
    沈念sama閱讀 35,792評(píng)論 5 346
  • 正文 年R本政府宣布,位于F島的核電站爬橡,受9級(jí)特大地震影響治唤,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜糙申,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,455評(píng)論 3 331
  • 文/蒙蒙 一宾添、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧柜裸,春花似錦缕陕、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,003評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至衔统,卻和暖如春鹿榜,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背锦爵。 一陣腳步聲響...
    開封第一講書人閱讀 33,130評(píng)論 1 272
  • 我被黑心中介騙來(lái)泰國(guó)打工舱殿, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人险掀。 一個(gè)月前我還...
    沈念sama閱讀 48,348評(píng)論 3 373
  • 正文 我出身青樓沪袭,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親樟氢。 傳聞我的和親對(duì)象是個(gè)殘疾皇子冈绊,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,047評(píng)論 2 355