Skip to content

Commit

Permalink
chore: remove useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
matschik committed Oct 27, 2024
1 parent 6267426 commit d670ca9
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion content/4-component-composition/5-context/marko/App.marko
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<let/user = { // In a real app, you would fetch the user data from an API
<let/user = {
id: 1,
username: "unicorn42",
email: "[email protected]",
Expand Down
1 change: 0 additions & 1 deletion content/4-component-composition/5-context/mithril/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import m from "mithril";
import UserProfile from "./UserProfile";

export default function App() {
// In a real app, you would fetch the user data from an API
const user = {
id: 1,
username: "unicorn42",
Expand Down
1 change: 0 additions & 1 deletion content/4-component-composition/5-context/react/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import UserProfile from "./UserProfile";
import { UserContext } from "./UserContext";

export default function App() {
// In a real app, you would fetch the user data from an API
const [user, setUser] = useState({
id: 1,
username: "unicorn42",
Expand Down
1 change: 0 additions & 1 deletion content/4-component-composition/5-context/solid/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { UserContext } from "./UserContext";
import UserProfile from "./UserProfile";

export default function App() {
// In a real app, you would fetch the user data from an API
const [user, setUser] = createSignal({
id: 1,
username: "unicorn42",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import UserProfile from "./UserProfile.svelte";
import createUserStore from "./createUserStore.js";
// In a real app, you would fetch the user data from an API
const userStore = createUserStore({
id: 1,
username: "unicorn42",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import UserProfile from "./UserProfile.svelte";
import createUserState from "./createUserState.svelte.js";
// In a real app, you would fetch the user data from an API
const user = createUserState({
id: 1,
username: "unicorn42",
Expand Down

0 comments on commit d670ca9

Please sign in to comment.