Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(cn): adding-interactivity #605

Closed
wants to merge 25 commits into from

Commits on Oct 22, 2021

  1. Initial check-in of new React docs and website

    Co-authored-by: Dan Abramov <dan.abramov@me.com>
    Co-authored-by: Sylwia Vargas <sylwia.vargas@gmail.com>
    Co-authored-by: Dan Lebowitz <dan.lebo@me.com>
    Co-authored-by: Razvan Gradinar <grazvan@fb.com>
    Co-authored-by: Jared Palmer <jared@palmer.net>
    Co-authored-by: Dane Grant <danecando@gmail.com>
    Co-authored-by: Dustin Goodman <dustin.s.goodman@gmail.com>
    Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com>
    Co-authored-by: Maggie Appleton <maggie.fm.appleton@gmail.com>
    Co-authored-by: Alex Moldovan <alex.n.moldovan@gmail.com>
    Co-authored-by: Ives van Hoorne <ives.v.h@gmail.com>
    Co-authored-by: Brian Vaughn <bvaughn@fb.com>
    13 people committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    5f404d9 View commit details
    Browse the repository at this point in the history
  2. Update src/components/Seo.tsx

    Co-authored-by: Lee Robinson <me@leerob.io>
    gaearon and leerob committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    c1fcb07 View commit details
    Browse the repository at this point in the history
  3. Update src/pages/community/meet-the-team.md

    Co-authored-by: Hao-Ping <almigod0718@gmail.com>
    gaearon and caaatisgood committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    ad8086e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    011f587 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2021

  1. Fix preconnect link to target search cluster (#3980)

    The `appId` was retrieved from props but the `<Search>` component is never instantiated with props. So the preconnect link targeted an unknown search cluster:
    
    ```html
    <link rel="preconnect" href="https://undefined-dsn.algolia.net" crossorigin="true">
    ```
    
    This fixes the preconnect link by getting the `appId` from the website config.
    francoischalifour committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    cfcb3a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    455d124 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2021

  1. fix: googleTranslate breaking terminal blocks (#3993)

    * fix: googleTranslate breaking terminal blocks
    
    * chore: prettier magic
    shrirambalaji committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    7fcceca View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Fix typo (#3998)

    itaileshem committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    ffd8762 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. Merge branch 'beta' into new-beta

    # Conflicts:
    #	.circleci/config.yml
    #	content/blog/2020-09-22-introducing-the-new-jsx-transform.md
    #	content/blog/2020-10-20-react-v17.md
    #	content/blog/2020-12-21-data-fetching-with-react-server-components.md
    #	content/blog/2021-06-08-the-plan-for-react-18.md
    #	content/community/articles.md
    #	content/community/conferences.md
    #	content/community/courses.md
    #	content/community/examples.md
    #	content/community/external-resources.md
    #	content/community/meetups.md
    #	content/community/nav.yml
    #	content/community/podcasts.md
    #	content/community/videos.md
    #	content/docs/accessibility.md
    #	content/docs/add-react-to-a-website.md
    #	content/docs/addons-shallow-renderer.md
    #	content/docs/addons-test-utils.md
    #	content/docs/cdn-links.md
    #	content/docs/code-splitting.md
    #	content/docs/codebase-overview.md
    #	content/docs/components-and-props.md
    #	content/docs/composition-vs-inheritance.md
    #	content/docs/concurrent-mode-adoption.md
    #	content/docs/concurrent-mode-intro.md
    #	content/docs/concurrent-mode-patterns.md
    #	content/docs/concurrent-mode-reference.md
    #	content/docs/concurrent-mode-suspense.md
    #	content/docs/conditional-rendering.md
    #	content/docs/context.md
    #	content/docs/create-a-new-react-app.md
    #	content/docs/cross-origin-errors.md
    #	content/docs/design-principles.md
    #	content/docs/error-boundaries.md
    #	content/docs/faq-ajax.md
    #	content/docs/faq-build.md
    #	content/docs/faq-functions.md
    #	content/docs/faq-internals.md
    #	content/docs/faq-state.md
    #	content/docs/faq-structure.md
    #	content/docs/faq-styling.md
    #	content/docs/faq-versioning.md
    #	content/docs/forms.md
    #	content/docs/forwarding-refs.md
    #	content/docs/fragments.md
    #	content/docs/getting-started.md
    #	content/docs/handling-events.md
    #	content/docs/hello-world.md
    #	content/docs/higher-order-components.md
    #	content/docs/hooks-custom.md
    #	content/docs/hooks-effect.md
    #	content/docs/hooks-faq.md
    #	content/docs/hooks-intro.md
    #	content/docs/hooks-overview.md
    #	content/docs/hooks-reference.md
    #	content/docs/hooks-rules.md
    #	content/docs/hooks-state.md
    #	content/docs/how-to-contribute.md
    #	content/docs/implementation-notes.md
    #	content/docs/integrating-with-other-libraries.md
    #	content/docs/introducing-jsx.md
    #	content/docs/jsx-in-depth.md
    #	content/docs/legacy-context.md
    #	content/docs/legacy-event-pooling.md
    #	content/docs/lifting-state-up.md
    #	content/docs/lists-and-keys.md
    #	content/docs/nav.yml
    #	content/docs/optimizing-performance.md
    #	content/docs/portals.md
    #	content/docs/react-without-es6.md
    #	content/docs/react-without-jsx.md
    #	content/docs/reconciliation.md
    #	content/docs/reference-dom-elements.md
    #	content/docs/reference-events.md
    #	content/docs/reference-glossary.md
    #	content/docs/reference-javascript-environment-requirements.md
    #	content/docs/reference-profiler.md
    #	content/docs/reference-react-component.md
    #	content/docs/reference-react-dom-server.md
    #	content/docs/reference-react-dom.md
    #	content/docs/reference-react.md
    #	content/docs/reference-test-renderer.md
    #	content/docs/refs-and-the-dom.md
    #	content/docs/release-channels.md
    #	content/docs/render-props.md
    #	content/docs/rendering-elements.md
    #	content/docs/state-and-lifecycle.md
    #	content/docs/static-type-checking.md
    #	content/docs/strict-mode.md
    #	content/docs/testing-environments.md
    #	content/docs/testing-recipes.md
    #	content/docs/testing.md
    #	content/docs/thinking-in-react.md
    #	content/docs/typechecking-with-proptypes.md
    #	content/docs/uncontrolled-components.md
    #	content/docs/web-components.md
    #	content/footerNav.yml
    #	content/headerNav.yml
    #	content/home/examples/a-component-using-external-plugins.md
    #	content/home/examples/a-simple-component.md
    #	content/home/examples/a-stateful-component.md
    #	content/home/examples/an-application.md
    #	content/home/marketing/component-based.md
    #	content/home/marketing/declarative.md
    #	content/home/marketing/learn-once-write-anywhere.md
    #	content/tutorial/nav.yml
    #	content/tutorial/tutorial.md
    #	content/warnings/dont-call-proptypes.md
    #	content/warnings/invalid-aria-prop.md
    #	content/warnings/invalid-hook-call-warning.md
    #	content/warnings/legacy-factories.md
    #	content/warnings/refs-must-have-owner.md
    #	content/warnings/special-props.md
    #	content/warnings/unknown-prop.md
    #	examples/context/motivation-problem.js
    #	examples/context/motivation-solution.js
    #	examples/context/multiple-contexts.js
    #	examples/context/theme-detailed-app.js
    #	examples/context/theme-detailed-theme-context.js
    #	examples/context/updating-nested-context-app.js
    #	examples/context/updating-nested-context-context.js
    #	examples/context/updating-nested-context-theme-toggler-button.js
    #	examples/forwarding-refs/customized-display-name.js
    #	examples/forwarding-refs/fancy-button-ref.js
    #	examples/forwarding-refs/fancy-button-simple-ref.js
    #	examples/forwarding-refs/fancy-button.js
    #	examples/forwarding-refs/log-props-after.js
    #	examples/react-component-reference/get-snapshot-before-update.js
    #	examples/update-on-async-rendering/adding-event-listeners-after.js
    #	examples/update-on-async-rendering/adding-event-listeners-before.js
    #	examples/update-on-async-rendering/adding-event-listeners-create-subscription.js
    #	examples/update-on-async-rendering/fetching-external-data-after.js
    #	examples/update-on-async-rendering/fetching-external-data-before.js
    #	examples/update-on-async-rendering/react-dom-properties-before-update-after.js
    #	examples/update-on-async-rendering/react-dom-properties-before-update-before.js
    #	examples/update-on-async-rendering/updating-external-data-when-props-change-after.js
    #	examples/update-on-async-rendering/updating-external-data-when-props-change-before.js
    #	examples/update-on-async-rendering/updating-state-from-props-after.js
    #	examples/update-on-async-rendering/using-react-lifecycles-compat.js
    #	gatsby-config.js
    #	package.json
    #	plugins/gatsby-remark-header-custom-ids/gatsby-ssr.js
    #	public/images/blog/hooks/1_yJyHd9CKkqgToX7DtI6fcg.png
    #	public/images/blog/hooks/Jietu20200222-133557@2x.png
    #	src/components/Banner/Banner.js
    #	src/components/CodeEditor/CodeEditor.js
    #	src/components/CodeExample/CodeExample.js
    #	src/components/ErrorDecoder/ErrorDecoder.js
    #	src/components/LayoutHeader/DocSearch.js
    #	src/components/LayoutHeader/Header.js
    #	src/components/MarkdownPage/MarkdownPage.js
    #	src/html.js
    #	src/pages/blog/2013/06/02/jsfiddle-integration.md
    #	src/pages/blog/2013/06/05/why-react.md
    #	src/pages/blog/2013/08/19/use-react-and-jsx-in-python-applications.md
    #	src/pages/blog/2015/03/30/community-roundup-26.md
    #	src/pages/blog/2015/12/18/react-components-elements-and-instances.md
    #	src/pages/blog/2016/01/12/discontinuing-ie8-support.md
    #	src/pages/blog/2016/07/11/introducing-reacts-error-code-system.md
    #	src/pages/blog/2018/03/27/update-on-async-rendering.md
    #	src/pages/blog/2018/06/07/you-probably-dont-need-derived-state.md
    #	src/pages/blog/2018/09/10/introducing-the-react-profiler.md
    #	src/pages/blog/2018/10/01/create-react-app-v2.md
    #	src/pages/blog/2018/10/23/react-v-16-6.md
    #	src/pages/blog/2018/11/13/react-conf-recap.md
    #	src/pages/blog/2018/11/27/react-16-roadmap.md
    #	src/pages/blog/2018/12/19/react-v-16-7.md
    #	src/pages/blog/2019/02/06/react-v16.8.0.md
    #	src/pages/blog/2019/08/08/react-v16.9.0.md
    #	src/pages/blog/2019/08/15/new-react-devtools.md
    #	src/pages/blog/2019/10/22/react-release-channels.md
    #	src/pages/blog/2020/02/26/react-v16.13.0.md
    #	src/pages/blog/2020/08/10/react-v17-rc.md
    #	src/pages/community/index.md
    #	src/pages/community/meet-the-team.md
    #	src/pages/index.js
    #	src/pages/languages.js
    #	src/pages/versions.js
    #	src/site-constants.js
    #	src/templates/components/NavigationFooter/NavigationFooter.js
    #	yarn.lock
    QC-L committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    9644fc9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'beta' into new-beta

    # Conflicts:
    #	src/pages/community/meet-the-team.md
    QC-L committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    fb37e6d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    84d2c7d View commit details
    Browse the repository at this point in the history
  4. chore: rm gatsby-config

    QC-L committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    f96395c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1bf54f2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    446c15c View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2021

  1. Update index.md

    gaearon committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    e77fdf2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a15647 View commit details
    Browse the repository at this point in the history
  3. docs(cn): fix conflicts

    QC-L committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    a014660 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f883531 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c0d8f28 View commit details
    Browse the repository at this point in the history
  6. Revert "Style scrollbars in dark mode (#3975)"

    This reverts commit 446c15c.
    gaearon committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    b46bdaa View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

  1. Configuration menu
    Copy the full SHA
    6bc962e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d556897 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d3a9df View commit details
    Browse the repository at this point in the history
  4. header add anchor

    wenmin92 committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    039a047 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. Update src/pages/learn/adding-interactivity.md

    Co-authored-by: QiChang Li <github@liqichang.com>
    wenmin92 and QC-L committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    f6b3406 View commit details
    Browse the repository at this point in the history