Ayobami Ogundiran ๐ŸŒŸ

16.1K posts

Ayobami Ogundiran ๐ŸŒŸ banner
Ayobami Ogundiran ๐ŸŒŸ

Ayobami Ogundiran ๐ŸŒŸ

@codingnninja

๐Ÿ› ๏ธ Inventing the future of the web with @korasjs | Creator | contributed to @firefoxDevTools | exDev@orgs | React โš›๏ธ | AI application Engineer/Researcher

Creating opportunities ๐Ÿคฉ Sumali AฤŸustos 2015
668 Sinusundan1.7K Mga Tagasunod
Naka-pin na Tweet
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
I built software Facebook and Google engineers said were impossible. Ask me anything ๐Ÿ‘Œ๐Ÿฝ
English
0
0
1
2.9K
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
*continuation if they're have different positions in the hierarchy but if they have the same position, then you still need to reconcile. So what is continuation? โœ… Continuation!
English
0
0
0
8
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
have different attributes as that means the duplicate is either an additional list or new children but not update to existing ones. You can only reconsile element and duplicate with the same attributes but different in values. If they're different in attributes, then it is
English
1
0
0
17
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
โœ… Reconciliation It is a state or UI management system that ensure the latest changes represented by the duplicate is committed or added to the UI or the state so that users can see changes. This is how it works. If the UI is different from its duplicate only in values
Ayobami Ogundiran ๐ŸŒŸ@codingnninja

โœ… State In a reactive system, a state is the data that represents the current attributes of an element which is liable to change. Changing a state of an element changes the nature of the element. โœ… State management It is a system of ensuring consistency in state changes.

English
1
0
0
19
Mark Essien
Mark Essien@markessienยท
The hardest part about AI development is in feeding the results back to the AI. This requires real skill.
English
1
0
3
384
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
๐Ÿ’ช๐Ÿพ I am a winner It seems I have conquered reactivity rendering system. It is time to ship and be maintaining it. Now taking on a business and personal challenges. Who is in?
English
0
0
1
22
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
"Vibe coding is for those who want to die poor" โ€” Egbon Adugbo. ๐Ÿ‘Œ๐Ÿฝ
English
0
1
0
54
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
valid: <section id="blog"> <section id="articles"> <div>Item 1</div> <div>Item 2</div> <div>Item 3</div> </section> <button onclick=${do()}>re-render</button> </section> So, I only need to throw an error in this case to inform them about the error and fix.
English
1
0
0
32
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
๐Ÿ’ช๐Ÿพ Adding an element that is not part of the list items is invalid in html Invalid: <section id="articles"> <div>Item 1</div> <div>Item 2</div> <div>Item 3</div> <button onclick=${do()}>render</button> </section> Button should be out and be wrapped in a tag like below:
Ayobami Ogundiran ๐ŸŒŸ@codingnninja

๐Ÿ’ช๐Ÿพ Done. Only need to ensure buttons or other elements that are not part of the list be move to the bottom of the list. No more <For /> just map, flatmap or whatever for loop. There is no way you will build this system without fully understanding how modern UIs frameworks work

English
1
0
0
54
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
I have also found a VSCODE extension for template literals syntax highlighter that works with nested html in nested arrow functions.
English
0
0
0
24
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
๐Ÿ’ช๐Ÿพ Done. Only need to ensure buttons or other elements that are not part of the list be move to the bottom of the list. No more <For /> just map, flatmap or whatever for loop. There is no way you will build this system without fully understanding how modern UIs frameworks work
Ayobami Ogundiran ๐ŸŒŸ@codingnninja

โœ… Going fully React mode. Finally found a VSCode extension that works with html in nested arrow function with "return". For that reason, I might not ship <For /> but ship only <If /> if I am able to reconcile the target and source components.

English
1
0
0
93
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
It is a system that observes or an handles the state of an element as it changes to ensure consistency and trigger other operations in a reactive system. State management doesn't have to be complex. What matters is consistent state update and triggering of other operations.
English
0
0
0
19
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
โœ… State In a reactive system, a state is the data that represents the current attributes of an element which is liable to change. Changing a state of an element changes the nature of the element. โœ… State management It is a system of ensuring consistency in state changes.
Ayobami Ogundiran ๐ŸŒŸ@codingnninja

โœ… Nodes duplication I reinvent React and this is from my experience. Building re-rendering capable system requires nodes duplication as VDOM, GRAPH or DOM because it enables re-rendering system. Your main nodes is for UI and its duplicate for update. This enables re-renders

English
1
0
0
48
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
For example, You have <div> Ayo </div> and it will be duplicated and be added to a VDOM, DOM or GRAHP before or upon user interactions.
English
0
0
0
22
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
A library like solid.js stores its node duplicates in a graph and koras uses DOM. It is impossible to build a reactive UI without node duplication because there is no other way to handle state changes.
English
1
0
0
41
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
โœ… Nodes duplication I reinvent React and this is from my experience. Building re-rendering capable system requires nodes duplication as VDOM, GRAPH or DOM because it enables re-rendering system. Your main nodes is for UI and its duplicate for update. This enables re-renders
English
1
0
0
69
Ayobami Ogundiran ๐ŸŒŸ nag-retweet
Ayobami Ogundiran ๐ŸŒŸ
Ayobami Ogundiran ๐ŸŒŸ@codingnninjaยท
โœ… You're imposters. I don't know why developers worry about imposter syndrome. All of you are imposters. You have been copying and pasting since the days of paper. It is not new during Ai era. You people are imposters faking it to be seen as real engineers.
English
0
1
0
44