You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
We're using React with styled-components, which uses template literals for CSS definition. Inside this you can also specify arrow functions that receive props. Here, we're using optional chaining for conditionally accessing properties of props. This breaks the syntax highlighting of subsequent lines up until the end of the file.
Prerequisites
Description
We're using React with styled-components, which uses template literals for CSS definition. Inside this you can also specify arrow functions that receive props. Here, we're using optional chaining for conditionally accessing properties of
props
. This breaks the syntax highlighting of subsequent lines up until the end of the file.Example:
How it looks:
How it looks with
?
removed:Steps to Reproduce
Expected behavior: Syntax highlighting doesn't break with optional chaining
Actual behavior: Syntax highlighting of subsequent lines up until the end of the file breaks
Reproduces how often: 100%
Versions
The text was updated successfully, but these errors were encountered: