Tags: alibaba/rax
Tags
feat: support catch error in SSR (#2041) * feat: support catch error when ssr * fix: lint * test: catch error * v1.2.2 * test: get derived state from error * test: componentDidCatch * feat: support catch error only with getDerivedStateFromError * fix: call componentDidCatch of instance * fix: check constructor is exist * v1.3.0 * v1.2.0
release: [email protected] (#1889) * chore: release beta * chore: 1.1.3 version * fix: destory function of a passive effect should call synchronously (#1864) * fix: destory function of a passive effect should call synchronously * test: add unit test Co-authored-by: yongningfu <[email protected]>
[RELEASE] JSX2MP @ 1024 (#1423) * chore: bump jsx2mp-loader version * feat: generating source maps (#1433) * refactor: generate inline source map in npm file * feat: add source map for rax code in watch mode * fix: add default sourceFileName to avoid test failure * refactor: use inline source map to support alipay IDE * fix: fix lint error * chore: remove useless import * feat: miniapp optimize build mode (#1434) * feat: clean dist dir before generating * feat: uglify runtime in build mode * fix: lint error * perf: minify js/css in build mode * feat: minify Code in build mode and do dce to all rax code * test: update compile result test case * fix: lint error * refactor: extract output logic to a single file * fix: copy path * fix: path resolve error in usingComponents * fix: path error in script when using node modules * fix: child component render * fix: child component render * chore: remove useless code * feat: support logical expression with jsx (#1424) * feat: support logical expression with jsx * fix: nested logical expression * chore: optimize warning * feat: support useRef * feat: add disable copy npm mode * chore: remove useless code * chore: add refs.length is 0 condition * feat: support ref is string * fix: fragment missing * refactor: extract transformCode to output function * fix: lint error * test: update test case of generating correct js code * feat: support build differentiated platform (#1442) * chore: opitimize code * feat: disable copy npm (#1441) * feat: add disable copy npm mode * refactor: extract transformCode to output function * fix: lint error * test: update test case of generating correct js code * chore: opitimize code * chore: bump version