Skip to content

Instantly share code, notes, and snippets.

@thefrugaldev
Last active April 26, 2020 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thefrugaldev/f6e4effc67086a888e45d228450060e0 to your computer and use it in GitHub Desktop.
Save thefrugaldev/f6e4effc67086a888e45d228450060e0 to your computer and use it in GitHub Desktop.
Code snippets for the firebase-react-redux blog post: https://thefrugal.dev/blog/integrating-firebase-with-react-redux/
import React from "react";
const Home = () => (
<div className="jumbotron">
<p>Welcome to our Firebase application!</p>
</div>
);
export default Home;
import React from "react";
const Private = () => {
return (
<div>
<h2>This is a private component!</h2>
</div>
);
};
export default Private;
import React from "react";
const Public = () => {
return (
<div>
<h2>This is a public component!</h2>
</div>
);
};
export default Public;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment