Differences with React
Comparisons and migrations
From React to Atomico
Atomico allows highly composed logic, thanks to the application of the hook pattern inherited from React and adds new hooks designed to improve the user experience of web components
Here are the articles in this section:
useProp allows you to reflec|t part of the useState behavior to a web-component property.
Create a local state in the web-component
allows you to create side effects, useful for controlling effects that interactive with the DOM or asynchrony
allows you to create an object that can contain persistent references between renders
Memorize the return of a callback by limiting its execution through an array of arguments, the callback is executed at t...
Allows memorizing the callback based on the second parameter, has an effect similar to useMemo
An alternative to useState. Accept a reduce and return the current state paired with a dispatch method. (If you are fami...
It allows obtaining a reference to the host without the need to associate with reference
Permite crear un callback que despacha un evento desde el web-component
It allows to use adoptedStyleSheets, this optimizes the load of the css associated to the web-component when using shado...
It allows delegating the focus action generated on the web-component to a reference
Guides - Previous
5 months ago