Skip to content

Commit

Permalink
Revert "chore(docs): Grammar change to aid readability. Also added hy…
Browse files Browse the repository at this point in the history
…perlink to styled-component (#20494)" (#20501)

This reverts commit 3ef9cc9.
  • Loading branch information
freiksenet authored Jan 9, 2020
1 parent 3ef9cc9 commit afec68c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/docs/what-you-dont-need-plugins-for.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ Some examples:
- Importing JavaScript packages that provide general functionality, such as `lodash` or `axios`
- Integrating visualization libraries, such as `Highcharts` or `d3`.

As a general rule, any npm package you might use while working on another JavaScript or React application can also be used ,with a Gatsby application. What plugins offer is a prepackaged integration into the core Gatsby APIs to save you time and energy, with minimal configuration.

A good use case would be using `Styled Components`, you could manually render the `Provider` component near the root of your application, or you could use [gatsby-plugin-styled-components ](https://www.gatsbyjs.org/packages/gatsby-plugin-styled-components/) which takes care of this step for you in addition to any other difficulties when configuring Styled Components to work with server-side rendering.
As a general rule, you may use _any_ npm package you might use without Gatsby, with Gatsby. What plugins offer is a prepackaged integration into the core Gatsby APIs to save you time and energy, with minimal configuration. In the case of `Styled Components`, you could manually render the `Provider` component near the root of your application, or you could just use `gatsby-plugin-styled-components` which takes care of this step for you in addition to any other difficulties you may run into configuring Styled Components to work with server side rendering.

0 comments on commit afec68c

Please sign in to comment.