Why do we use JS for backend apps ?
. . .
Why do we use JS for backend apps ?
+
=
Why do we use JS for backend apps ?
Why do we use JS for backend apps ?
Why do we use JS for backend apps ?
Why do we use JS for backend apps ?
...because of enterprise challenges, frontend/fullstack developers,
etc.
The state of frontend frameworks
The state of frontend frameworks
const Example = () => {
const [label, setLabel] = useState("")
const updateLabel = (event) => {
setLabel(event.target.value)
}
return (
<div>
<input type="text" value={label} onChange={updateLabel} />
<p>{label}</p>
</div>
)
}
The state of frontend frameworks
The hooks you have to use:
The hooks you kind of want to use:
The state of frontend frameworks
The state of frontend frameworks
The state of frontend frameworks
...is too much on the frontend side and not strict enough.
The futur of frontend frameworks
The futur of frontend frameworks
The futur of frontend frameworks
// Example.svelte
<script>
let label;
</script>
<div>
<input bind:value={label} />
<p>{label}</p>
</div>
The futur of frontend frameworks
The futur of frontend frameworks
...is compiled or run in the backend.
So the next question is...
In summary:
So the next question is...
...is JavaScript the right language?
Source
What do you think ?