https://fullstack-hy2019.github.io/
Materiaali on lisensoitu Creative Commons BY-NC-SA 3.0 -lisenssillä
Home Page: https://fullstack-hy2019.github.io
License: Other
https://fullstack-hy2019.github.io/
In part 6, exercise 6.9, there is the following text which looks suspiciously like old class based code:
Sovelluksessa on valmiina komponentin Notification runko:
class Notification extends React.Component {
render() {
Also later there is this:
class NewNote extends React.Component {
So in part 3, when building the backend for the phone number app, the instructions (3.1) tell us to have the api serve a hardcoded list of names and phone numbers. It would make sense that this hardcoded list is not meant to be modified despite the tasks in 3.4 and 3.5 are to implement DELETE
and POST
endpoints respectively.
This is all fine and well, but the bigger confusion comes in the next chapter when in task 3.9 we are told to make the backend work together with the frontend. How is this supposed to be possible when POST
requests don't actually add anything to the data on the server and DELETE
requests don't remove anything?
Perhaps I missed something in the instructions, but could you clarify how exactly this is supposed to be done (prior to implementing any database integration)? Thanks.
Should be:
import React from 'react';
const Notification = () => {
const style = {
border: 'solid',
padding: 10,
borderWidth: 1
}
return (
<div style={style}>
render here notification...
</div>
)
}
export default Notification
the link takes to faq/osa0 which naturally doesn't work
See the last code snippet in
Most likely they should be changed from
handleClick={() => setToValue(counter + 1)}
handleClick={() => setToValue(0)}
to
handleClick={setToValue(counter + 1)}
handleClick={setToValue(0)}
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.