-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
Description
It would be helpful for newbies to have a bit more detail on the description of component placement within an app.
Currently the following is what is a description for placement...
Supposing a CommonJS environment, you can simply use the component in this way:
import HttpsRedirect from 'react-https-redirect';
class App extends React.Component {
render() {
return (
<Providers>
<HttpsRedirect>
<Children />
</HttpsRedirect>
<Providers />
);
}
}
This is great for those who are not new to SSL but it would be nice for everyone to have an idea of what's actually going on behind the scenes, as well as a description of what <Providers> is exactly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels