📄️ Async Views
Rendering async views can be done with [View API] or with async component.
📄️ Swapping Views
Switching between different markups within a component.
📄️ Conditional Mounting
mounted attribute
📄️ Error catching
Just like React, Proton provides an interface to catch errors thrown in children components.
📄️ Host Element
To render inflated elements or components, you need to attach the result of inflation (which is always a Node) to a parent.
📄️ Portal
Portals in Proton are natural and straightforward,
📄️ Pre-inflation
If you want to inflate JSX before it's going to be used anywhere, you can do simply this
📄️ Serializer
WebJSXSerializer serves the purpose of serializing given JSX, Components and Primitives (including adopted).
📄️ Suspense
Make sure a parent catches it by using suspense and unsuspense. This is an experimental API, so don't rely on it too much.
📄️ Top Level
There are no limits on what can be defined or used in the top level (of a file).
📄️ Tree Context API
This API is a Map that uses class constructor as key and its instance as value.