remaxjs / examples Goto Github PK
View Code? Open in Web Editor NEWRemax examples
Remax examples
export default () =>
缺少{
修改为
export default () => {
另外,目前最新语法的严格模式会提示jsx中不能使用ts的any限定,修复
在codesandbox中运行显示 Invalid Host header
在实际开发中,我们需要和服务端交互,希望能添加这样的案例
在使用小程序的rich-text的时候,下载mini-html-parser(https://github.com/ant-mini-program/mini-html-parser)依赖,部分文件打包不进去。
VM6374:1 Warning: Encountered two children with the same key, %s
. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.%s 4
in checkbox-group (created by ForwardRef(Component))
in ForwardRef(Component) (created by IndexPage)
in view (created by ForwardRef(Component))
in ForwardRef(Component) (created by IndexPage)
in view (created by ForwardRef(Component))
in ForwardRef(Component) (created by IndexPage)
in IndexPage (created by ConnectFunction)
in ConnectFunction (created by PageWrapper)
in PageWrapper
in Provider (created by _App)
in _App
就很尴尬
onTouchStart={touchStart}
onTouchMove={touchMove}
onTouchEnd={touchEnd}
运行yarn dev
报如下错误:
yarn run v1.22.5
error Couldn't find a package.json file in "F:\IdeaProjects\examples"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
F:\IdeaProjects\examples>cd umi-mock
F:\IdeaProjects\examples\umi-mock>yarn dev
yarn run v1.22.5
$ concurrently 'remax build -t ali -w' 'umi dev'
F:\IdeaProjects\examples\umi-mock\node_modules\rxjs\internal\util\hostReportError.js:4
setTimeout(function () { throw err; }, 0);
^
RangeError: Format string contains an unescaped latin alphabet character l
at F:\IdeaProjects\examples\umi-mock\node_modules\date-fns\format\index.js:442:13
at Array.map ()
at format (F:\IdeaProjects\examples\umi-mock\node_modules\date-fns\format\index.js:415:45)
at Logger.getPrefixesFor (F:\IdeaProjects\examples\umi-mock\node_modules\concurrently\src\logger.js:38:19)
at Logger.getPrefix (F:\IdeaProjects\examples\umi-mock\node_modules\concurrently\src\logger.js:48:31)
at Logger.logCommandText (F:\IdeaProjects\examples\umi-mock\node_modules\concurrently\src\logger.js:73:53)
at SafeSubscriber._next (F:\IdeaProjects\examples\umi-mock\node_modules\concurrently\src\flow-control\log-output.js:9:58)
at SafeSubscriber.__tryOrUnsub (F:\IdeaProjects\examples\umi-mock\node_modules\rxjs\internal\Subscriber.js:205:16)
at SafeSubscriber.next (F:\IdeaProjects\examples\umi-mock\node_modules\rxjs\internal\Subscriber.js:143:22)
at Subscriber._next (F:\IdeaProjects\examples\umi-mock\node_modules\rxjs\internal\Subscriber.js:89:26)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
支付宝的 demo ,点击 add todo 时,,新页面进入会有白块闪动,,是在 didMount 里处理全局的???
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.