-
Notifications
You must be signed in to change notification settings - Fork 3
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
Example/static components #2
base: main
Are you sure you want to change the base?
Example/static components #2
Conversation
@@ -0,0 +1,109 @@ | |||
/* | |||
{{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe cite https://piccalil.li/blog/a-modern-css-reset/?
import { Navbar } from './components/Navbar'; | ||
import { Title } from './components/Title'; | ||
|
||
const App: Component = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would argue that one common style should be used for Components, I think that export default function FunctionName is also used in the tutorial on site. So export default function App here?
import logo from '../../logo.svg'; | ||
import { SocialList } from '../SocialList'; | ||
|
||
export default function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a name to the function here, for consistency sake?
Mind resolving the merge conflict please? |
A demo showing a simple site built with (non stateful) components using SolidJS
Features:
src/index.css