matthewp / haunted-starter-app Goto Github PK
View Code? Open in Web Editor NEWCreated with CodeSandbox
Home Page: https://codesandbox.io/s/github/matthewp/haunted-starter-app
Created with CodeSandbox
Home Page: https://codesandbox.io/s/github/matthewp/haunted-starter-app
https://codesandbox.io/s/github/matthewp/haunted-starter-app doesn't seem to work anymore. This library looks super cool, I would love to be able to play around with it.
edit: It must be something with codesandbox because cloning the repo locally and via glitch works fine. Maybe consider adding a link to remix with glitch unless it can start working in codesandbox...
Currently, dispatch
is called within FullName
meaning that on any rerender dispatch
will be called. This works fine for now because the only rerendering that happens is when first
and last
change, however, I would consider this an anti-pattern. If you add any code that causes FullName
to rerender you're unnecessarily dispatching and causing App
to rerender as well.
dispatch
should be inside of a call to useEffect
with the dependencies as first
and last
It also seems unnecessary to move dispatch
out of the component seeing as the logic inside of dispatch
is tightly coupled to FullName
's specific use case.
List of things missing from index.html
file:
<html>
<head>
tags<body>
tags<meta>
tagThe file also needs to be formatted as it has no indentation whatsoever right now.
In the example, there are a few accessibility issues with the form inputs:
<fieldset>
with a <legend>
.for
attributes on the <label>
s need to have corresponding id
attributes on their respective <input>
elements.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.