Coder Social home page Coder Social logo

composition-api-rfc's People

Contributors

bencodezen avatar changjin0520 avatar changjoo-park avatar clemyan avatar codesofra avatar dependabot[bot] avatar gregg avatar jbruni avatar kawamataryo avatar lebenleben avatar leecason avatar marcagba avatar melodyvoid avatar mrjmpl3 avatar pearofducks avatar pikax avatar reed-jones avatar shenqingchuan avatar shoichiaizawa avatar theniceangel avatar visualfanatic avatar way2ex avatar wizard67 avatar yangmingshan avatar yyx990803 avatar zenkers avatar zgayjjf avatar zhenyong avatar zzqizqute avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

composition-api-rfc's Issues

How To Use Types In Props

The Documentation Is Limited For How To Use Types In Props. It Can Help Me To Use Interface As A Type For A Prop Instead Of Using Object By Default.

Is there `beforeCreate` hook?

setup function will be called before the beforeCreate hook.

setup

Is there still any beforeCreate hook? Or this is a misspelling for beforeMount?

image
image

A problem about ref in api document

QQ截图20200425144054

When I read compositon-api-rfc document in website, I found the code shown above. I don't know if this code is right. In my opinion, the code in the template should be

<template>
  <div :ref="root"></div>
</template>

and it is my first contact with vue3, and i don't kown the correct code.

Found while reading document.

In api.md

  • Having props as a separate argument makes it easier to type it individually (see TypeScript-only Props Typing below) without messing up the types of other properties on the context. It also makes it possible to keep a consistent signature across setup, render and plain functional components with TSX support.

'#typescript-only-props-typing' seems to have disappeared.

To get type inference for the arguments passed to setup(), the use of defineComponent is needed.
'#defineComponent' seems to have disappeared.

Thanks !

How about providing i18n?

I think is a good idea for people is not good at english.
I have translated the docs into Chinese, and whould you like to accept it?

how to translate 'wrap' and 'unwrap'

解套
解开
解包

个人倾向于第三种, 我是学网络工程的,感觉 wrap 概念和TCP/IP 4层协议的工作模式类似,各个网络设备不断的对网络报文 包装解包ref reactive 也有点像是给普通对象加了一个包装。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.