Skip to content

Instantly share code, notes, and snippets.

@thefrugaldev

thefrugaldev/home.js

Last active Apr 26, 2020
Embed
What would you like to do?
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
You can’t perform that action at this time.